rename a var for consistency
This commit is contained in:
parent
def9226891
commit
1cde42cb23
@ -193,7 +193,7 @@ endfunction
|
|||||||
"The corresponding options are set for the duration of the function call. They
|
"The corresponding options are set for the duration of the function call. They
|
||||||
"are set with :let, so dont escape spaces.
|
"are set with :let, so dont escape spaces.
|
||||||
function! SyntasticMake(options)
|
function! SyntasticMake(options)
|
||||||
let oldloclist = getloclist(0)
|
let old_loclist = getloclist(0)
|
||||||
let old_makeprg = &makeprg
|
let old_makeprg = &makeprg
|
||||||
let old_shellpipe = &shellpipe
|
let old_shellpipe = &shellpipe
|
||||||
let old_errorformat = &errorformat
|
let old_errorformat = &errorformat
|
||||||
@ -215,7 +215,7 @@ function! SyntasticMake(options)
|
|||||||
silent lmake!
|
silent lmake!
|
||||||
let errors = getloclist(0)
|
let errors = getloclist(0)
|
||||||
|
|
||||||
call setloclist(0, oldloclist)
|
call setloclist(0, old_loclist)
|
||||||
let &makeprg = old_makeprg
|
let &makeprg = old_makeprg
|
||||||
let &errorformat = old_errorformat
|
let &errorformat = old_errorformat
|
||||||
let &shellpipe=old_shellpipe
|
let &shellpipe=old_shellpipe
|
||||||
|
Loading…
Reference in New Issue
Block a user