aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.vim/autoload/neomake/makers/ft/fish.vim
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/fish.vim')
-rw-r--r--dotfiles/.vim/autoload/neomake/makers/ft/fish.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/fish.vim b/dotfiles/.vim/autoload/neomake/makers/ft/fish.vim
new file mode 100644
index 0000000..429afcc
--- /dev/null
+++ b/dotfiles/.vim/autoload/neomake/makers/ft/fish.vim
@@ -0,0 +1,16 @@
+" vim: ts=4 sw=4 et
+
+function! neomake#makers#ft#fish#EnabledMakers() abort
+ return ['fish']
+endfunction
+
+function! neomake#makers#ft#fish#fish() abort
+ return {
+ \ 'args': ['-n'],
+ \ 'errorformat':
+ \ '%C%f (line %l): %s,'.
+ \ '%-Gfish: %.%#,'.
+ \ '%Z%p^,'.
+ \ '%E%m'
+ \}
+endfunction