Skip to content

Commit

Permalink
fix: parse ansi code error (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
voldikss authored and chemzqm committed Jul 7, 2019
1 parent 4fe01e0 commit 89a83c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/coc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function! s:AddAnsiGroups() abort
for i in range(0, len(names) - 1)
let name = names[i]
if exists('g:terminal_ansi_colors')
let color_map[name] = get(g:, 'terminal_ansi_colors', i)
let color_map[name] = get(g:terminal_ansi_colors, i, colors[i])
else
let color_map[name] = get(g:, 'terminal_color_'.i, colors[i])
endif
Expand Down

0 comments on commit 89a83c1

Please sign in to comment.