auto-fix-return.nvim icon indicating copy to clipboard operation
auto-fix-return.nvim copied to clipboard

Does not initialize

Open mpldr opened this issue 5 months ago • 1 comments

Hi, not sure if this is caused by my OS serving Treesitter with nvim, or if there is a bug in auto-fix…

this is the error I get when starting.

Failed to run `config` for auto-fix-return.nvim                                                                                            
                                                                                                                                           
/usr/share/nvim/runtime/lua/vim/treesitter.lua:111: Parser could not be created for buffer 1 and language "go"                             

# stacktrace:
  - /usr/share/nvim/runtime/lua/vim/treesitter.lua:111 _in_ **get_parser**
  - /auto-fix-return.nvim/lua/auto-fix-return/lib.lua:119 _in_ **register_buf_cbs**
  - /auto-fix-return.nvim/lua/auto-fix-return/lib.lua:94 _in_ **enable_tree_cbs**
  - /auto-fix-return.nvim/lua/auto-fix-return.lua:32 _in_ **setup**
  - ~/.config/nvim/lua/plugins.lua:133 _in_ **config**

mpldr avatar Aug 08 '25 11:08 mpldr

Hmm, thats on the get_parser call, do you have the golang treesitter parser installed?

If you have nvim-treesitter you can run :TSInstall go and it will install it.

Jay-Madden avatar Aug 08 '25 16:08 Jay-Madden