view runtime/compiler/stylelint.vim @ 25798:2cae62d8628d v8.2.3434

patch 8.2.3434: function prototype for trigger_modechanged() is incomplete Commit: https://github.com/vim/vim/commit/28e591dd5080bbcd0f468f9d9597cedb716e28c9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 12 21:00:14 2021 +0200 patch 8.2.3434: function prototype for trigger_modechanged() is incomplete Problem: Function prototype for trigger_modechanged() is incomplete. Solution: Add "void".
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Sep 2021 21: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