Add fish syntax, closes #109

This commit is contained in:
Adam Stankiewicz
2016-05-02 10:46:45 +02:00
parent 76d23a21e6
commit 905031eb95
8 changed files with 189 additions and 0 deletions

11
compiler/fish.vim Normal file
View File

@@ -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