auto-fix-return.nvim
auto-fix-return.nvim copied to clipboard
Does not initialize
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**
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.