Modify a variable name
In the function s:HL, the variable 'hi' is renamed 'l:hi' everywhere.
This commit is contained in:
+2
-2
@@ -159,7 +159,7 @@ function! s:HL(group, bg, fg, attr)
|
|||||||
|
|
||||||
if a:bg != 'none'
|
if a:bg != 'none'
|
||||||
let l:bg = get(s:colors, a:bg)
|
let l:bg = get(s:colors, a:bg)
|
||||||
let hi .= 'guibg=#'. l:bg['gui'] . ' ' . 'ctermbg=' . l:bg['cterm']
|
let l:hi .= 'guibg=#'. l:bg['gui'] . ' ' . 'ctermbg=' . l:bg['cterm']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if a:fg != 'none'
|
if a:fg != 'none'
|
||||||
@@ -174,7 +174,7 @@ function! s:HL(group, bg, fg, attr)
|
|||||||
let l:hi .= ' gui=none cterm=none'
|
let l:hi .= ' gui=none cterm=none'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
execute hi
|
execute l:hi
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|||||||
Reference in New Issue
Block a user