Merge pull request #61 from oryband/master

css.vim - Fixed line/col printing in error description.
This commit is contained in:
Martin Grenfell 2011-06-24 15:11:45 -07:00
commit 87ab6d2c54

View File

@ -21,8 +21,8 @@ endif
function! SyntaxCheckers_css_GetLocList()
let makeprg = 'csslint '.shellescape(expand('%'))
" Print CSS Lint's 'Welcome' and error 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%.%#'
" 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\ at\ line%.%#,%A%>%f:,%C%n:\ %t%\\w%\\+\ at\ line\ %l\,\ col\ %c,%Z%m,%-G%.%#'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction