Updated vimrc

This commit is contained in:
amix
2015-07-13 11:22:46 +01:00
parent 9a2843c2a5
commit d7752b59ae
301 changed files with 4699 additions and 7969 deletions

View File

@@ -7,7 +7,7 @@
"
"============================================================================
if exists("g:loaded_syntastic_python_pyflakes_checker")
if exists('g:loaded_syntastic_python_pyflakes_checker')
finish
endif
let g:loaded_syntastic_python_pyflakes_checker = 1
@@ -27,12 +27,12 @@ function! SyntaxCheckers_python_pyflakes_GetHighlightRegex(i)
" fun with Python's %r: try "..." first, then '...'
let term = matchstr(a:i['text'], '\m^.\{-}"\zs.\{-1,}\ze"')
if term != ''
if term !=# ''
return '\V\<' . escape(term, '\') . '\>'
endif
let term = matchstr(a:i['text'], '\m^.\{-}''\zs.\{-1,}\ze''')
if term != ''
if term !=# ''
return '\V\<' . escape(term, '\') . '\>'
endif
endif
@@ -55,7 +55,7 @@ function! SyntaxCheckers_python_pyflakes_GetLocList() dict
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'env': env,
\ 'defaults': {'text': "Syntax error"} })
\ 'defaults': {'text': 'Syntax error'} })
for e in loclist
let e['vcol'] = 0