summaryrefslogtreecommitdiffstats
path: root/indent/fish.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/fish.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/fish.vim b/indent/fish.vim
index dfdd5bca..3b0b62b4 100644
--- a/indent/fish.vim
+++ b/indent/fish.vim
@@ -1,6 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
setlocal indentexpr=fish#Indent()
setlocal indentkeys+==end,=else,=case
+endif