From 905031eb9536adb38d793c1ced6d61057d3ca456 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 May 2016 10:46:45 +0200 Subject: Add fish syntax, closes #109 --- compiler/fish.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 compiler/fish.vim (limited to 'compiler') 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 -- cgit v1.2.3