Skip to content

fix: update references in treesitter#336

Merged
ray-x merged 1 commit into
ray-x:masterfrom
ddaniel27:fix/treesitter-references
Apr 4, 2026
Merged

fix: update references in treesitter#336
ray-x merged 1 commit into
ray-x:masterfrom
ddaniel27:fix/treesitter-references

Conversation

@ddaniel27

Copy link
Copy Markdown
Contributor

Hey, I hope you are doing good. It was a while since I updated my plugins and I found and error with this one when using TS references directly.

My config has something like:

          { 
            key = ']r',
            func = require('navigator.treesitter').goto_next_usage,
            desc = 'goto_next_usage',
          },

And when I updated the plugin, I found this error message:
image

Looking at the code, seems you did some changes in the TS related file but forgot to replace ts_locals with locals. So basically this PR does that.

I tested in local with

    dir = vim.fn.expand("$HOME") .. "/personal/navigator.lua",

And works again. I'm using LazyNvim if that matters. As always, thanks for this amazing plugin, let me know any comments/suggestions.

@ray-x ray-x left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I have a different fix for this. But I might need a few more days before I can commit the changes. Will merge your changes while I am still testing.

@ray-x ray-x merged commit 6e17af0 into ray-x:master Apr 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants