Skip to content

Commit

Permalink
remove lambda for better backwards compat. closes #73
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Apr 14, 2018
1 parent dc8073c commit 7668d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colors/dracula.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
" Dracula Theme: v1.3.2 {{{
" Dracula Theme: v1.4.0 {{{
"
" https://github.com/zenorocha/dracula-theme
"
Expand Down Expand Up @@ -134,7 +134,7 @@ function! s:h(scope, fg, ...) " bg, attr_list, special
let l:fg = copy(a:fg)
let l:bg = get(a:, 1, ['NONE', 'NONE'])

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

" Falls back to coloring foreground group on terminals because
Expand Down

0 comments on commit 7668d80

Please sign in to comment.