We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
on_range
1 parent 3fb3bd7 commit 20189f0Copy full SHA for 20189f0
lua/trouble/view/treesitter.lua
@@ -30,7 +30,7 @@ function M.setup()
30
M.did_setup = true
31
32
-- https://github.com/neovim/neovim/commit/5edbabdbec0ac3fba33be8afc008845130158583
33
- if vim.fn.has("nvim-0.12.0") == 1 then
+ if TSHighlighter._on_range then
34
vim.api.nvim_set_decoration_provider(ns, {
35
on_win = wrap("_on_win"),
36
on_range = wrap("_on_range"),
0 commit comments