annotate runtime/compiler/yamllint.vim @ 25497:2246bcbeff89
v8.2.3285
patch 8.2.3285: scdoc filetype is not recognized
Commit: https://github.com/vim/vim/commit/dd097bdc1376e4ca2cfd4a4d64021b6ba0df4bed
Author: Gregory Anders <greg@gpanders.com>
Date: Wed Aug 4 20:00:27 2021 +0200
patch 8.2.3285: scdoc filetype is not recognized
Problem: Scdoc filetype is not recognized.
Solution: Add filetype detection. (Gregory Anders, closes https://github.com/vim/vim/issues/8701)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 04 Aug 2021 20:15:03 +0200 |
parents |
bdda48f01a68 |
children |
e1df51f68736 |
rev |
line source |
25402
|
1 " Vim compiler file
|
|
2 " Compiler: Yamllint for YAML
|
|
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
|
4 " Last Change: 2021 July 21
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "yamllint"
|
|
10
|
|
11 if exists(":CompilerSet") != 2
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 CompilerSet makeprg=yamllint\ -f\ parsable
|
|
16
|