Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

[BUG] tree sitter error when typing in telescope prompt #397

Closed
molleweide opened this issue Sep 25, 2022 · 0 comments
Closed

[BUG] tree sitter error when typing in telescope prompt #397

molleweide opened this issue Sep 25, 2022 · 0 comments
Labels
scope: bug Something isn't working

Comments

@molleweide
Copy link
Contributor

Problem:

When starting to type in the prompt you'd get:

Error executing vim.schedule lua callback: ...im/0.7.0/share/nvim/runtime/lua/vim/treesitter/query.lua:172: query: invalid node type at position 180
stack traceback:
        [C]: in function '_ts_parse_query'
        ...im/0.7.0/share/nvim/runtime/lua/vim/treesitter/query.lua:172: in function 'get_query'
        ...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:37: in function 'new'
        ...r/neovim/0.7.0/share/nvim/runtime/lua/vim/treesitter.lua:46: in function '_create_parser'
        ...r/neovim/0.7.0/share/nvim/runtime/lua/vim/treesitter.lua:94: in function 'get_parser'
        ...er/opt/telescope.nvim/lua/telescope/previewers/utils.lua:120: in function 'ts_highlighter'
        ...er/opt/telescope.nvim/lua/telescope/previewers/utils.lua:94: in function 'highlighter'
        ...scope.nvim/lua/telescope/previewers/buffer_previewer.lua:242: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Solution

:TSUpdateSync
@molleweide molleweide added the scope: bug Something isn't working label Sep 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant