summaryrefslogtreecommitdiffstats
path: root/indent/fish.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/fish.vim')
-rw-r--r--indent/fish.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/indent/fish.vim b/indent/fish.vim
new file mode 100644
index 00000000..c5f8e50e
--- /dev/null
+++ b/indent/fish.vim
@@ -0,0 +1,6 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
+
+setlocal indentexpr=fish#Indent()
+setlocal indentkeys+==end,=else,=case
+
+endif