Skip to content

Does not initialize #14

Description

@mpldr

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**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions