Skip to content

Commit

Permalink
Fix #6 - Ignore linked groups
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Aug 21, 2015
1 parent 0b5da7d commit 4e6c75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/rainbow_parentheses.vim
Expand Up @@ -113,7 +113,7 @@ function! s:extract_colors()
redir => output
silent hi
redir END
let lines = filter(split(output, '\n'), 'v:val =~# "fg" && v:val !~# "bg"')
let lines = filter(split(output, '\n'), 'v:val =~# "fg" && v:val !~? "links" && v:val !~# "bg"')
let colors = s:uniq(reverse(map(lines, 's:extract_fg(v:val)')))
let [blacklist, fg] = s:blacklist()
for c in get(g:, 'rainbow#blacklist', [])
Expand Down

0 comments on commit 4e6c75b

Please sign in to comment.