summaryrefslogtreecommitdiffstats
path: root/indent/fish.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/fish.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/fish.vim b/indent/fish.vim
index c5f8e50e..dfdd5bca 100644
--- a/indent/fish.vim
+++ b/indent/fish.vim
@@ -1,6 +1,6 @@
-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 indentexpr=fish#Indent()
setlocal indentkeys+==end,=else,=case
-
-endif