mirror of
https://github.com/amix/vimrc
synced 2025-06-24 07:44:59 +08:00
Updated vimrc
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_text_atdtool_checker")
|
||||
if exists('g:loaded_syntastic_text_atdtool_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_text_atdtool_checker = 1
|
||||
@ -24,7 +24,7 @@ set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_text_atdtool_GetHighlightRegex(item)
|
||||
let term = matchstr(a:item['text'], '\m "\zs[^"]\+\ze"\($\| | suggestions:\)')
|
||||
if term != ''
|
||||
if term !=# ''
|
||||
let col = get(a:item, 'col', 0)
|
||||
let term = (col != 0 ? '\%' . col . 'c' : '') . '\V' . escape(term, '\')
|
||||
endif
|
||||
|
@ -5,7 +5,7 @@
|
||||
"
|
||||
"============================================================================
|
||||
|
||||
if exists("g:loaded_syntastic_text_language_check_checker")
|
||||
if exists('g:loaded_syntastic_text_language_check_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_text_language_check_checker = 1
|
||||
|
Reference in New Issue
Block a user