Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 70091c9

Browse files
author
Your Name
committedMar 19, 2025
Revert removing coc#highlight#create_namespace(
this function may have side effect
1 parent c149c86 commit 70091c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎autoload/coc/highlight.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ function! coc#highlight#del_markers(bufnr, key, ids) abort
193193
if !bufloaded(a:bufnr)
194194
return
195195
endif
196+
let ns = coc#highlight#create_namespace(a:key)
196197
if s:is_vim
197198
call vim9_coc_highlight.Del_markers(a:bufnr, a:ids)
198199
else
199-
let ns = coc#highlight#create_namespace(a:key)
200200
for id in a:ids
201201
call nvim_buf_del_extmark(a:bufnr, ns, id)
202202
endfor

0 commit comments

Comments
 (0)
Please sign in to comment.