annotate runtime/compiler/yamllint.vim @ 32082:775d7d500959 v9.0.1372

patch 9.0.1372: test for 'toolbariconsize' may fail Commit: https://github.com/vim/vim/commit/db1887ce40452daea8c4e8734ec64202e5f24130 Author: James McCoy <jamessan@jamessan.com> Date: Thu Mar 2 18:36:33 2023 +0000 patch 9.0.1372: test for 'toolbariconsize' may fail Problem: Test for 'toolbariconsize' may fail. Solution: Only test 'toolbariconsize' when it is supported. (James McCoy, closes #12095)
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Mar 2023 19:45:03 +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