Mercurial > vim
annotate runtime/compiler/stylelint.vim @ 35403:a14726ad28e6 default tip
runtime(netrw): glob() on windows fails with [] in directory name
Commit: https://github.com/vim/vim/commit/1487947fb625d44ed02382ea6b0d5bf72b12583a
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Jun 13 21:25:35 2024 +0200
runtime(netrw): glob() on windows fails with [] in directory name
fixes: https://github.com/vim/vim/issues/14952
closes: https://github.com/vim/vim/issues/14991
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 13 Jun 2024 21:30:05 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
21825 | 1 " Vim compiler file |
2 " Compiler: Stylelint | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
21825
diff
changeset
|
4 " Last Change: 2024 Apr 03 |
21825 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "stylelint" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 " CompilerSet makeprg=npx\ stylelint\ --formatter\ compact | |
15 | |
16 CompilerSet makeprg=stylelint\ --formatter\ compact | |
17 CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %trror\ -\ %m, | |
18 \%f:\ line\ %l\\,\ col\ %c\\,\ %tarning\ -\ %m, | |
19 \%-G%.%# | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |