mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
treesitter: redraw on changed query
This commit is contained in:
parent
78ec95ce7d
commit
08af82b9cb
@ -69,6 +69,8 @@ function TSHighlighter:set_query(query)
|
|||||||
end
|
end
|
||||||
self.id_map[i] = hl
|
self.id_map[i] = hl
|
||||||
end
|
end
|
||||||
|
|
||||||
|
a.nvim__buf_redraw_range(self.buf, 0, a.nvim_buf_line_count(self.buf))
|
||||||
end
|
end
|
||||||
|
|
||||||
function TSHighlighter:on_change(changes)
|
function TSHighlighter:on_change(changes)
|
||||||
|
Loading…
Reference in New Issue
Block a user