Modify a variable name

In the function s:HL, the variable 'hi' is renamed 'l:hi' everywhere.
This commit is contained in:
Ludovic Koenig
2019-03-16 13:14:16 +01:00
parent 72f0154d37
commit 424e45c328
+2 -2
View File
@@ -159,7 +159,7 @@ function! s:HL(group, bg, fg, attr)
if a:bg != 'none'
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
if a:fg != 'none'
@@ -174,7 +174,7 @@ function! s:HL(group, bg, fg, attr)
let l:hi .= ' gui=none cterm=none'
endif
execute hi
execute l:hi
endfunction
" }}}