view runtime/compiler/stylelint.vim @ 22464:b74bdd85bb26 v8.2.1780

patch 8.2.1780: statusline not updated when splitting windows Commit: https://github.com/vim/vim/commit/668008be66326ed9e5b1122abede34ed3d2de2d8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 1 19:06:35 2020 +0200 patch 8.2.1780: statusline not updated when splitting windows Problem: Statusline not updated when splitting windows. Solution: Call status_redraw_all(). (Jason Franklin, closes https://github.com/vim/vim/issues/5496)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Oct 2020 19:15:03 +0200
parents 0db0640e16e0
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Stylelint
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Jun 10

if exists("current_compiler")
  finish
endif
let current_compiler = "stylelint"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

" CompilerSet makeprg=npx\ stylelint\ --formatter\ compact

CompilerSet makeprg=stylelint\ --formatter\ compact
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %trror\ -\ %m,
		       \%f:\ line\ %l\\,\ col\ %c\\,\ %tarning\ -\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save