Skip to content

treesitter error when I open doc throught telescope #38

Description

@asdf8601

When I hit <leader>sh which is mapped to telescope help_tags function, this error comes up:

image

Error executing vim.schedule lua callback: /usr/local/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 14 for language help                                           
stack traceback:                                                                                                                                                                                               
        [C]: in function '_ts_parse_query'                                                                                                                                                                     
        /usr/local/share/nvim/runtime/lua/vim/treesitter/query.lua:219: in function 'get_query'                                                                                                                
        ...l/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:52: in function 'new'                                                                                                                      
        /usr/local/share/nvim/runtime/lua/vim/treesitter.lua:45: in function '_create_parser'                                                                                                                  
        /usr/local/share/nvim/runtime/lua/vim/treesitter.lua:96: in function 'get_parser'                                                                                                                      
        .../start/telescope.nvim/lua/telescope/previewers/utils.lua:129: in function 'ts_highlighter'                                                                                                          
        .../start/telescope.nvim/lua/telescope/previewers/utils.lua:106: in function 'highlighter'                                                                                                             
        ...scope.nvim/lua/telescope/previewers/buffer_previewer.lua:242: in function ''                                                                                                                        
        vim/_editor.lua: in function <vim/_editor.lua:0>                                                                                                                                                       
Press ENTER or type command to continue                 

I have no idea how to deal with this and maybe I should open this issue on telescope?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions