view runtime/compiler/csslint.vim @ 16344:d24e5d848a09 v8.1.1177

patch 8.1.1177: .ts files are recognized as xml, typescript is more common commit https://github.com/vim/vim/commit/1a4dce7cad4af4de347853aad6d671da2df662ad Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 16 22:21:05 2019 +0200 patch 8.1.1177: .ts files are recognized as xml, typescript is more common Problem: .ts files are recognized as xml, while typescript is more common. Solution: Recognize .ts files as typescript. (closes https://github.com/vim/vim/issues/4264)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Apr 2019 22:30:06 +0200
parents 368468ef35cf
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	csslint for CSS
" Maintainer: Daniel Moch <daniel@danielmoch.com>
" Last Change: 2016 May 21

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

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

CompilerSet makeprg=csslint\ --format=compact
CompilerSet errorformat=%-G,%-G%f:\ lint\ free!,%f:\ line\ %l\\,\ col\ %c\\,\ %trror\ -\ %m,%f:\ line\ %l\\,\ col\ %c\\,\ %tarning\ -\ %m,%f:\ line\ %l\\,\ col\ %c\\,\ %m