aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.vim/autoload/neomake/makers/ft/toml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/toml.vim')
-rw-r--r--dotfiles/.vim/autoload/neomake/makers/ft/toml.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/toml.vim b/dotfiles/.vim/autoload/neomake/makers/ft/toml.vim
new file mode 100644
index 0000000..d314911
--- /dev/null
+++ b/dotfiles/.vim/autoload/neomake/makers/ft/toml.vim
@@ -0,0 +1,15 @@
+function! neomake#makers#ft#toml#EnabledMakers() abort
+ return ['tomlcheck']
+endfunction
+
+function! neomake#makers#ft#toml#tomlcheck() abort
+ return {
+ \ 'args': ['-f'],
+ \ 'errorformat':
+ \ '%E%f:%l:%c:,' .
+ \ '%E%m'
+ \ }
+endfunction
+
+" vim: et sw=4 ts=4
+" vim: ts=4 sw=4 et