mirror of
https://github.com/amix/vimrc
synced 2025-06-24 15:54:59 +08:00
Updated vimrc
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_po_msgfmt_checker")
|
||||
if exists('g:loaded_syntastic_po_msgfmt_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_po_msgfmt_checker = 1
|
||||
@ -20,7 +20,7 @@ set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_po_msgfmt_GetHighlightRegex(item)
|
||||
let term = matchstr(a:item['text'], '\mkeyword "\zs[^"]\+\ze" unknown')
|
||||
return term != '' ? '\V' . escape(term, '\') : ''
|
||||
return term !=# '' ? '\V' . escape(term, '\') : ''
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_po_msgfmt_GetLocList() dict
|
||||
|
Reference in New Issue
Block a user