Skip to content

Commit 7668d80

Browse files
committed
remove lambda for better backwards compat. closes #73
1 parent dc8073c commit 7668d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colors/dracula.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
" Dracula Theme: v1.3.2 {{{
1+
" Dracula Theme: v1.4.0 {{{
22
"
33
" https://github.com/zenorocha/dracula-theme
44
"
@@ -134,7 +134,7 @@ function! s:h(scope, fg, ...) " bg, attr_list, special
134134
let l:fg = copy(a:fg)
135135
let l:bg = get(a:, 1, ['NONE', 'NONE'])
136136

137-
let l:attr_list = filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
137+
let l:attr_list = filter(get(a:, 2, ['NONE']), 'type(v:val) == 1')
138138
let l:attrs = len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
139139

140140
" Falls back to coloring foreground group on terminals because

0 commit comments

Comments
 (0)