mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-08 02:25:41 +02:00
fix: clear all namespaces
This commit is contained in:
parent
3bb6966e91
commit
7f69542054
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ function M.open(bufnr, winid, ctx_ranges, ctx_lines)
|
|||
return
|
||||
end
|
||||
|
||||
api.nvim_buf_clear_namespace(ctx_bufnr, ns, 0, -1)
|
||||
api.nvim_buf_clear_namespace(ctx_bufnr, -1, 0, -1)
|
||||
highlight_contexts(bufnr, ctx_bufnr, ctx_ranges)
|
||||
copy_extmarks(bufnr, ctx_bufnr, ctx_ranges)
|
||||
highlight_bottom(ctx_bufnr, win_height - 1, 'TreesitterContextBottom')
|
||||
|
|
Loading…
Reference in a new issue