Fix Pug linting

This commit is contained in:
w0rp
2017-02-11 18:49:12 +00:00
parent 62a45f8ae4
commit 6f6c156995
2 changed files with 11 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ function! s:HandleUnixFormat(buffer, lines, type) abort
" file.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args
" file.go:53:10: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
" file.go:5:2: expected declaration, found 'STRING' "log"
let l:pattern = '^' . s:path_pattern . ':\(\d\+\):\?\(\d\+\)\?: \(.\+\)$'
let l:pattern = '^' . s:path_pattern . ':\(\d\+\):\?\(\d\+\)\?:\? \(.\+\)$'
let l:output = []
for l:line in a:lines