diff options
Diffstat (limited to 'ftplugin/fish.vim')
-rw-r--r-- | ftplugin/fish.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim index c6c1f6d8..3784b4c4 100644 --- a/ftplugin/fish.vim +++ b/ftplugin/fish.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1 + finish +endif + setlocal comments=:# setlocal commentstring=#%s setlocal define=\\v^\\s*function> @@ -39,5 +41,3 @@ let b:match_words = let b:endwise_addition = 'end' let b:endwise_words = 'begin,function,if,switch,while,for' let b:endwise_syngroups = 'fishKeyword,fishConditional,fishRepeat' - -endif |