Merge pull request #61 from oryband/master
css.vim - Fixed line/col printing in error description.
This commit is contained in:
commit
87ab6d2c54
@ -21,8 +21,8 @@ endif
|
|||||||
function! SyntaxCheckers_css_GetLocList()
|
function! SyntaxCheckers_css_GetLocList()
|
||||||
let makeprg = 'csslint '.shellescape(expand('%'))
|
let makeprg = 'csslint '.shellescape(expand('%'))
|
||||||
|
|
||||||
" Print CSS Lint's 'Welcome' and error messages. Ignores the code line.
|
" Print CSS Lint's 'Welcome' and error/warning messages. Ignores the code line.
|
||||||
let errorformat = '%+Gcsslint:\ There%.%#,%A%f:,%C%n:\ %t%\\w%\\+\ at\ line %l\,\ col\ %c,%Z%m,%A%f:,%C%n:\ %t%\\w%\\+\ at\ line %l\,\ col\ %c,%C%m,%-Z%.%#,%-G%.%#'
|
let errorformat = '%+Gcsslint:\ There%.%#,%A%f:,%C%n:\ %t%\\w%\\+\ at\ line\ %l\,\ col\ %c,%Z%m\ at\ line%.%#,%A%>%f:,%C%n:\ %t%\\w%\\+\ at\ line\ %l\,\ col\ %c,%Z%m,%-G%.%#'
|
||||||
|
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user