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
|
||||
self.id_map[i] = hl
|
||||
end
|
||||
|
||||
a.nvim__buf_redraw_range(self.buf, 0, a.nvim_buf_line_count(self.buf))
|
||||
end
|
||||
|
||||
function TSHighlighter:on_change(changes)
|
||||
|
Loading…
Reference in New Issue
Block a user