Updated plugins
This commit is contained in:
@@ -9,9 +9,6 @@
|
||||
" See http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
"
|
||||
"============================================================================
|
||||
"
|
||||
" See here for details of phpmd
|
||||
" - phpmd (see http://phpmd.org)
|
||||
|
||||
if exists("g:loaded_syntastic_php_phpmd_checker")
|
||||
finish
|
||||
@@ -44,7 +41,7 @@ function! SyntaxCheckers_php_phpmd_GetHighlightRegex(item)
|
||||
endif
|
||||
let term = matchstr(a:item['text'], "\\m\\C^The '\\S\\+()' method which returns ")
|
||||
if term != ''
|
||||
return '\V'.substitute(term, "\\m\\C^The '\\(\\S\\+\\()' method which returns.*", '\1', '')
|
||||
return '\V'.substitute(term, "\\m\\C^The '\\(\\S\\+\\)()' method which returns.*", '\1', '')
|
||||
endif
|
||||
let term = matchstr(a:item['text'], '\m\C variable \S\+ should begin with ')
|
||||
if term != ''
|
||||
@@ -77,4 +74,4 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
" vim: set et sts=4 sw=4:
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
||||
|
||||
Reference in New Issue
Block a user