Skip to content

Commit

Permalink
fix second bug reported in #4872
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristiano De Michele committed Feb 3, 2024
1 parent 5e7087d commit 7851a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/coc/api.vim
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function! s:funcs.buf_add_highlight(bufnr, srcId, hlGroup, line, colStart, colEn
let id = s:generate_id(a:bufnr)
try
call prop_add(a:line + 1, a:colStart + 1, {'bufnr': bufnr, 'type': type, 'id': id, 'end_col': end})
catch /^Vim\%((\a\+)\)\=:E967/
catch /^Vim\%((\a\+)\)\=:\(E967\|E964\)/
" ignore 967
endtry
if a:srcId == 0
Expand Down

0 comments on commit 7851a7a

Please sign in to comment.