Optimise ale#Var a little

This commit is contained in:
w0rp
2018-07-04 23:54:14 +01:00
parent 9ddf1b6a05
commit 13a8f9c061
4 changed files with 6 additions and 19 deletions

View File

@@ -34,8 +34,3 @@ Execute(ale#Var should return the global variable for unknown variables):
let g:ale_fix_buffer_data = {}
AssertEqual 'abc', ale#Var(1347347, 'some_variable')
Execute(ale#Var should return the global variables when the ALE fix variable is undefined):
unlet! g:ale_fix_buffer_data
AssertEqual 'abc', ale#Var(1347347, 'some_variable')