Minor cleanup: qualify regexp in msgfmt.

This commit is contained in:
LCD 47 2013-11-25 19:48:25 +02:00
parent e468e98e45
commit 06bddd1da3

View File

@ -17,7 +17,7 @@ let g:loaded_syntastic_po_msgfmt_checker=1
function! SyntaxCheckers_po_msgfmt_GetHighlightRegex(item)
let term = matchstr(a:item['text'], 'keyword "\zs[^"]\+\ze" unknown')
let term = matchstr(a:item['text'], '\mkeyword "\zs[^"]\+\ze" unknown')
return !empty(term) ? '\V' . term : ''
endfunction