We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca6401f commit 7e2692bCopy full SHA for 7e2692b
lua/noice/text/treesitter.lua
@@ -88,7 +88,7 @@ function M.highlight(buf, ns, range, lang)
88
local is_spell = name == "spell"
89
90
if hl and not is_spell then
91
- vim.api.nvim_buf_set_extmark(buf, ns, start_row, start_col, {
+ pcall(vim.api.nvim_buf_set_extmark, buf, ns, start_row, start_col, {
92
end_line = end_row,
93
end_col = end_col,
94
hl_group = hl,
0 commit comments