Skip to content

Commit

Permalink
Merge pull request guns#10 from IDAGIO/bugfix-syntax-match
Browse files Browse the repository at this point in the history
  • Loading branch information
padawin committed Jan 6, 2022
2 parents 9754e85 + 0d16061 commit a64d1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/xterm-color-table.vim
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function! s:ColorCell(n)
execute 'silent! syntax clear bg_' . a:n

execute 'syntax match fg_' . a:n . ' " ' . a:n . ' " containedin=ALL'
execute 'syntax match bg_' . a:n . ' "' . rgb . '" containedin=ALL'
execute 'syntax match bg_' . a:n . ' " ' . a:n . ' #[a-f0-9]\{6\}" containedin=ALL contains=fg_' . a:n

call s:HighlightCell(a:n, -1)

Expand Down

0 comments on commit a64d1cb

Please sign in to comment.