summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/yamllint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/yamllint.vim')
-rw-r--r--runtime/compiler/yamllint.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/compiler/yamllint.vim b/runtime/compiler/yamllint.vim
new file mode 100644
index 0000000..889b04b
--- /dev/null
+++ b/runtime/compiler/yamllint.vim
@@ -0,0 +1,16 @@
+" Vim compiler file
+" Compiler: Yamllint for YAML
+" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
+" Last Change: 2021 July 21
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "yamllint"
+
+if exists(":CompilerSet") != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+CompilerSet makeprg=yamllint\ -f\ parsable
+