diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/refactor/highlight_definitions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/refactor/highlight_definitions.lua b/lua/nvim-treesitter/refactor/highlight_definitions.lua index 3b75cd847..d1eb4712d 100644 --- a/lua/nvim-treesitter/refactor/highlight_definitions.lua +++ b/lua/nvim-treesitter/refactor/highlight_definitions.lua @@ -25,7 +25,7 @@ function M.highlight_usages(bufnr) for _, usage_node in ipairs(usages) do if usage_node ~= node_at_point then - ts_utils.highlight_node(node_at_point, bufnr, usage_namespace, 'TSDefinitionUsage') + ts_utils.highlight_node(usage_node, bufnr, usage_namespace, 'TSDefinitionUsage') end end |
