summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:46:45 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:46:45 +0200
commit905031eb9536adb38d793c1ced6d61057d3ca456 (patch)
tree97f9b716b7db05d5c454997acf33a05678e5dfe4 /indent
parent76d23a21e6904b1c09ddad1cb3fa769bbfe17991 (diff)
downloadvim-polyglot-905031eb9536adb38d793c1ced6d61057d3ca456.tar.gz
vim-polyglot-905031eb9536adb38d793c1ced6d61057d3ca456.zip
Add fish syntax, closes #109
Diffstat (limited to 'indent')
-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