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()
Explain the problem here ...
Running
:PlugStatus
when editing a git commit message results in: