annotate runtime/compiler/yamllint.vim @ 31718:bcedaa2fcb7b v9.0.1191

patch 9.0.1191: some Bazel files are not recognized Commit: https://github.com/vim/vim/commit/3213952966896ffb1d8fa186bcf8c43359fca0f0 Author: Keith Smiley <keithbsmiley@gmail.com> Date: Fri Jan 13 15:35:17 2023 +0000 patch 9.0.1191: some Bazel files are not recognized Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes https://github.com/vim/vim/issues/11807)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Jan 2023 16:45:02 +0100
parents bdda48f01a68
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25402
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Compiler: Yamllint for YAML
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2021 July 21
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let current_compiler = "yamllint"
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 if exists(":CompilerSet") != 2
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 endif
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 CompilerSet makeprg=yamllint\ -f\ parsable
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16