nvim-treesitter / nvim-treesitter-textobjects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throw an error: 'get_capture_matches_recursively'

JiuRanYa opened this issue · comments

Describe the bug
Install the nvim-treesitter-textobjects, use default config.

When I press 'v' + 'i' + 'f', it throw this error
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Not error

Output of :checkhealth nvim-treesitter
image

Output of nvim --version

Nvim v0.9.0

Additional context
Add any other context about the problem here.

Did you install the recent commit of the textobjects and nvim-treesitter?

Did you install the recent commit of the textobjects and nvim-treesitter?

For sure. textobject and nvim-treesitter are lastest version.

It has been working fine for a while, and this is a very weird issue. I can't reproduce it. Interestingly, shared.lua:238 is just an empty line. Maybe your installation went wrong?

It has been working fine for a while, and this is a very weird issue. I can't reproduce it. Interestingly, shared.lua:238 is just an empty line. Maybe your installation went wrong?

Thanks for your replay. I install it using lazy.nvim. I run :Lazy and all installation looks goes well.

Are you using preconfigured distro (e.g. LunarVim) by any chance?

image

Here is my lazy.nvim installation config using textobjects default config.

● auto-save.nvim 1.53ms  VeryLazy
● bufferline.nvim 5.23ms  VeryLazy
● cmp-buffer 0.19ms   nvim-cmp
● cmp-cmdline 0.21ms   nvim-cmp
● cmp-nvim-lsp 0.22ms   nvim-cmp
● cmp-path 0.22ms   nvim-cmp
● cmp-vsnip 0.09ms   nvim-cmp
● fidget.nvim 0.46ms   nvim-lspconfig
● friendly-snippets 0.29ms   nvim-cmp
● gitsigns.nvim 6.08ms  start
● hop.nvim 1.79ms   config.keymaps
● indent-blankline.nvim 2.63ms  VeryLazy
● lazy.nvim 6.16ms   init.lua
● lspkind.nvim 0.13ms   nvim-cmp
● lspsaga.nvim 0.57ms  VeryLazy
● lualine.nvim 7.46ms  VeryLazy
● mason-lspconfig.nvim 0.17ms  VeryLazy
● mason.nvim 2.04ms  start
● mini.indentscope 1.07ms  VeryLazy
● neodev.nvim 16.53ms  VeryLazy
● neoformat 0.3ms  VeryLazy
● null-ls.nvim 6.37ms  VeryLazy
● nvim-autopairs 1.95ms   nvim-cmp
● nvim-base16 0.11ms  start
● nvim-cmp 19.51ms  start
● nvim-lspconfig 15.03ms   neodev.nvim
● nvim-surround 5.58ms  VeryLazy
● nvim-tree.lua 13.5ms  start
● nvim-treesitter 11.82ms   nvim-treesitter-context
● nvim-treesitter-context 14.72ms  VeryLazy
● nvim-treesitter-textobjects 8.91ms  VeryLazy
● nvim-ts-autotag 2.42ms  VeryLazy
● nvim-web-devicons 0.55ms   nvim-tree.lua
● plenary.nvim 0.73ms   null-ls.nvim
● toggleterm.nvim 3.04ms  VeryLazy
● vim-devicons 1.91ms  VeryLazy
● vim-illuminate 1.85ms  VeryLazy
● vim-tmux-navigator 0.46ms  VeryLazy
● vim-vsnip 4.15ms   nvim-cmp
● vim-vsnip-integ 0.43ms   nvim-cmp
● winbar.nvim 1.89ms  VeryLazy

This is all my plugins, looks not

Are you using preconfigured distro (e.g. LunarVim) by any chance?

You're using the wrong repo. Please change the repo to the official one.

Sorry, stupid mistake. Thanks for your patient replay.