diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-11 16:47:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 16:47:45 +0200 |
commit | e31652879e4ecfc63b450626209d09df79336de0 (patch) | |
tree | 14ed290a0ea6c12efa6c1ea56475b1ecf9f92b6c /runtime/compiler | |
parent | e7d2102c917b22435939543d752ff81de3a75d25 (diff) | |
download | rneovim-e31652879e4ecfc63b450626209d09df79336de0.tar.gz rneovim-e31652879e4ecfc63b450626209d09df79336de0.tar.bz2 rneovim-e31652879e4ecfc63b450626209d09df79336de0.zip |
vim-patch:partial 53f7fccc9413 (#15631)
* vim-patch:partial 53f7fccc9413
Update runtime files
https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f
omit macros/hanoi/hanoi.vim
omit spell/tet/main.aap
omit tools/shtags.1
omit tools/xcmdsrv_client.c
skip doc/pattern.txt (requires 8.2.3110; 8.2.{1665,1872})
skip doc/map.txt (requires 8.2.3228)
Diffstat (limited to 'runtime/compiler')
-rw-r--r-- | runtime/compiler/spectral.vim | 17 | ||||
-rw-r--r-- | runtime/compiler/yamllint.vim | 16 |
2 files changed, 33 insertions, 0 deletions
diff --git a/runtime/compiler/spectral.vim b/runtime/compiler/spectral.vim new file mode 100644 index 0000000000..bd13c51f43 --- /dev/null +++ b/runtime/compiler/spectral.vim @@ -0,0 +1,17 @@ +" Vim compiler file +" Compiler: Spectral for YAML +" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com> +" Last Change: 2021 July 21 + +if exists("current_compiler") + finish +endif +let current_compiler = "spectral" + +if exists(":CompilerSet") != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +CompilerSet makeprg=spectral\ lint\ %\ -f\ text +CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m + diff --git a/runtime/compiler/yamllint.vim b/runtime/compiler/yamllint.vim new file mode 100644 index 0000000000..889b04b63c --- /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 + |