mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Guard against unloaded plugin in runtime files
This can happen if g:loaded_fugitive is set to disable the plugin, or in a botched install.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if exists("b:current_syntax")
|
||||
if exists("b:current_syntax") || !exists("*FugitiveGitDir")
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user