Skip to content

Commit f90b582

Browse files
committed
remove lambda from helper function so as to not break support for older vims
1 parent cd18ffb commit f90b582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/airline/themes/dracula.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func! s:clr(fg, bg, ...)
1717
let l:fg = g:dracula#palette[a:fg]
1818
let l:bg = g:dracula#palette[a:bg]
1919
return [ l:fg[0], l:bg[0], l:fg[1], l:bg[1] ] +
20-
\ filter(copy(a:000), {_, val -> type(val) == 1 && len(val) > 0 })
20+
\ filter(copy(a:000), 'type(v:val) == 1 && len(v:val) > 0')
2121
endfunc
2222

2323
" Takes three ['fg', 'bg'] color lists and optionally a dictionary of extra

0 commit comments

Comments
 (0)