summaryrefslogtreecommitdiffstats
path: root/compiler
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 /compiler
parent76d23a21e6904b1c09ddad1cb3fa769bbfe17991 (diff)
downloadvim-polyglot-905031eb9536adb38d793c1ced6d61057d3ca456.tar.gz
vim-polyglot-905031eb9536adb38d793c1ced6d61057d3ca456.zip
Add fish syntax, closes #109
Diffstat (limited to 'compiler')
-rw-r--r--compiler/fish.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/fish.vim b/compiler/fish.vim
new file mode 100644
index 00000000..11fad0c6
--- /dev/null
+++ b/compiler/fish.vim
@@ -0,0 +1,11 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
+
+if exists('current_compiler')
+ finish
+endif
+let current_compiler = 'fish'
+
+CompilerSet makeprg=fish\ --no-execute\ %
+execute 'CompilerSet errorformat='.escape(fish#errorformat(), ' ')
+
+endif