vim-plug
vim-plug copied to clipboard
Command :PlugStatus fails when editing commit message
Explain the problem here ...
Running :PlugStatus when editing a git commit message results in:
Error detected while processing function <SNR>19_status[1]..<SNR>19_prepare[7]..function<SNR>19_status[1]..<SNR>19_prepare:
line 7:
E605: Exception not caught: $GIT-DIR detected. Cannot proceed.
if has('nvim')
call plug#begin()
else
call plug#begin('~/.vim/plugged')
endif
" Core plugins {{{
Plug 'airblade/vim-gitgutter'
Plug 'editorconfig/editorconfig-vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-dotenv'
Plug 'tpope/vim-eunuch' " Vim sugar for the UNIX shell commands that need it the most
Plug 'tpope/vim-fugitive' " Git
Plug 'tpope/vim-projectionist'
Plug 'tpope/vim-repeat' " Enable repeating supported plugin maps with '.'
Plug 'tpope/vim-scriptease' " Vim script utilities
Plug 'tpope/vim-surround'
Plug 'tpope/vim-vinegar' " Extend netrw
Plug 'xolox/vim-misc' " Required by vim-session
Plug 'xolox/vim-session' " Better session management (restarting, restoring, etc)
if has('python')
Plug 'puremourning/vimspector' " debugger
endif
" }}}
" Extra plugins {{{
"" Plug 'tpope/vim-flatfoot' " Experimental enhancements of f and t
"" Plug 'vifm/vifm.vim' " For vifm
Plug 'ap/vim-css-color' " CSS hex color preview
Plug 'chrisbra/unicode.vim'
Plug 'tpope/vim-afterimage' " vim-afterimage
Plug 'tpope/vim-dadbod' " Database
Plug 'tpope/vim-rsi' " Emacs style readline
Plug 'tpope/vim-speeddating' " Change dates
Plug 'tpope/vim-tbone' " tmux
Plug 'tpope/vim-unimpaired' " Pair mappings [f, ]f etc
Plug 'vimwiki/vimwiki', { 'on' : [] }
Plug 'voldikss/vim-floaterm'
" }}}
" Configuration plugins {{{
"" Plug 'tpope/vim-sensible' " https://github.com/tpope/vim-sensible
Plug 'tpope/vim-sleuth' " auto-detect indent settings
" }}}
" Language plugins: {{{
Plug 'jparise/vim-graphql' " GraphQL syntax
Plug 'leafgarland/typescript-vim' " TypeScript syntax
Plug 'maxmellon/vim-jsx-pretty' " JS and JSX syntax
Plug 'OmniSharp/omnisharp-vim' " csharp
Plug 'pangloss/vim-javascript' " JavaScript support
Plug 'tpope/vim-apathy' " Apathy sets the five path searching options ΓÇö 'path', 'suffixesadd', 'include', 'includeexpr', and 'define' ΓÇö for file types I don't care about enough to bother with creating a proper plugin. https://github.com/tpope/vim-apathy
Plug 'tpope/vim-classpath' " JVM class path
Plug 'tpope/vim-haml' " Haml, Sass & SCSS
Plug 'tpope/vim-jdaddy' " JSON
Plug '~/repos/vim-minizinc'
" }}}
" Style plugins {{{
" Plug 'dracula/vim', { 'as': 'dracula' }
""Plug 'tpope/vim-vividchalk' " Theme
" Plug 'vim-airline/vim-airline'
" Plug 'vim-airline/vim-airline-themes'
Plug 'itchyny/lightline.vim'
Plug 'tpope/vim-flagship' " Statusline
" }}}
" Initialize plugin system
call plug#end()
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 10 2022 08:40:37)
Included patches: 1-749
Modified by [email protected]
Compiled by [email protected]
Huge version without GUI. Features included (+) or not (-):
+acl +cmdline_hist +ex_extra +jumplist +mouse_dec -perl +sodium +textobjects +wildmenu
+arabic +cmdline_info +extra_search +keymap +mouse_gpm +persistent_undo -sound +textprop +windows
+autocmd +comments -farsi +lambda -mouse_jsbterm +popupwin +spell +timers +writebackup
+autochdir +conceal +file_in_path +langmap +mouse_netterm +postscript +startuptime +title -X11
-autoservername +cryptv +find_in_path +libcall +mouse_sgr +printer +statusline -toolbar -xfontset
-balloon_eval +cscope +float +linebreak -mouse_sysmouse +profile -sun_workshop +user_commands -xim
+balloon_eval_term +cursorbind +folding +lispindent +mouse_urxvt -python +syntax +vartabs -xpm
-browse +cursorshape -footer +listcmds +mouse_xterm +python3 +tag_binary +vertsplit -xsmp
++builtin_terms +dialog_con +fork() +localmap +multi_byte +quickfix -tag_old_static +vim9script -xterm_clipboard
+byte_offset +diff +gettext -lua +multi_lang +reltime -tag_any_white +viminfo -xterm_save
+channel +digraphs -hangul_input +menu -mzscheme +rightleft -tcl +virtualedit
+cindent -dnd +iconv +mksession +netbeans_intg -ruby +termguicolors +visual
-clientserver -ebcdic +insert_expand +modify_fname +num64 +scrollbind +terminal +visualextra
-clipboard +emacs_tags +ipv6 +mouse +packages +signs +terminfo +vreplace
+cmdline_compl +eval +job -mouseshape +path_extra +smartindent +termresponse +wildignore
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -ffile-prefix-map=/build/vim-cdpF6P/vim-9.0.0749=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lm -ltinfo -lselinux -lsodium -lacl -lattr -lgpm -L/usr/lib/python3.10/config-3.10-x86_64-linux-gnu -lpython3.10 -lcrypt -ldl -lm -lm
- Type:
- [x] Bug
- [ ] Enhancement
- [ ] Feature Request
- [ ] Question
- OS:
- [ ] All/Other
- [x] Linux
- [ ] macOS
- [ ] Windows
- Vim:
- [x] Terminal Vim
- [ ] GVim
- [ ] Neovim