|
|
@ -26,6 +26,7 @@ local trace = function(...) end
|
|
|
|
if vim.fn.has('nvim-0.7') == 1 then
|
|
|
|
if vim.fn.has('nvim-0.7') == 1 then
|
|
|
|
local trace = require('navigator.util').trace
|
|
|
|
local trace = require('navigator.util').trace
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
trace = log
|
|
|
|
|
|
|
|
|
|
|
|
local get_icon = function(kind)
|
|
|
|
local get_icon = function(kind)
|
|
|
|
if kind == nil or _NgConfigValues.icons.match_kinds[kind] == nil then
|
|
|
|
if kind == nil or _NgConfigValues.icons.match_kinds[kind] == nil then
|
|
|
@ -641,6 +642,7 @@ function M.side_panel()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
return require('navigator.treesitter').all_ts_nodes(b)
|
|
|
|
return require('navigator.treesitter').all_ts_nodes(b)
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
|
|
|
|
scope = 'node_scope'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
panel:open(true)
|
|
|
|
panel:open(true)
|
|
|
|
end
|
|
|
|
end
|
|
|
|