Skip to content

Commit e201767

Browse files
committed
use less memory: call map()call filter()
1 parent 1c3411c commit e201767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/css_color.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ endfunction
251251
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
252252

253253
function! css_color#reinit()
254-
call map( keys( b:css_color_hi ), 's:create_highlight( v:val, s:color_bright[v:val] )' )
254+
call filter( keys( b:css_color_hi ), 's:create_highlight( v:val, s:color_bright[v:val] )' )
255255
endfunction
256256

257257
function! css_color#enable()

0 commit comments

Comments
 (0)