summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/spectral.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/compiler/spectral.mnv')
-rw-r--r--mnv/runtime/compiler/spectral.mnv14
1 files changed, 14 insertions, 0 deletions
diff --git a/mnv/runtime/compiler/spectral.mnv b/mnv/runtime/compiler/spectral.mnv
new file mode 100644
index 0000000000..20ae270857
--- /dev/null
+++ b/mnv/runtime/compiler/spectral.mnv
@@ -0,0 +1,14 @@
+" MNV compiler file
+" Compiler: Spectral for YAML
+" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
+" Last Change: 2021 July 21
+" 2024 Apr 03 by The MNV Project (removed :CompilerSet definition)
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "spectral"
+
+CompilerSet makeprg=spectral\ lint\ %\ -f\ text
+CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m
+