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

@@ -10,7 +10,7 @@
"
"============================================================================
if exists("g:loaded_syntastic_lua_luac_checker")
if exists('g:loaded_syntastic_lua_luac_checker')
finish
endif
let g:loaded_syntastic_lua_luac_checker = 1
@@ -21,7 +21,7 @@ set cpo&vim
function! SyntaxCheckers_lua_luac_GetHighlightRegex(pos)
let result = ''
let near = matchstr(a:pos['text'], '\mnear ''\zs[^'']\+\ze''')
if near != ''
if near !=# ''
if near ==# '<eof>'
let p = getpos('$')
let a:pos['lnum'] = p[1]