Closed mrsaibaandreas closed 6 months ago
We cannot debug this for you, unfortunately. Please read the error message carefully and see if
And please read https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support; we do not and cannot support every flavor of Windows -- it's purely best effort.
(And, yes, .so
is fine on Windows; it's just a name and makes the implementation easier.)
Thank you for your answer. I'll also leave this logs, maybe other people have the same issue as me.
Error executing vim.schedule lua callback: ...s\Neovim\share\nvim\runtime/lua/vim/treesitter/query.lua:259: query: invalid structure at position 3026 for language lua stack traceback: [C]: in function '_ts_parse_query' ...s\Neovim\share\nvim\runtime/lua/vim/treesitter/query.lua:259: in function 'get' ...m\share\nvim\runtime/lua/vim/treesitter/languagetree.lua:114: in function 'new' ...m Files\Neovim\share\nvim\runtime/lua/vim/treesitter.lua:61: in function '_create_parser' ...m Files\Neovim\share\nvim\runtime/lua/vim/treesitter.lua:131: in function 'get_parser' ...\start\telescope.nvim/lua/telescope/previewers/utils.lua:141: in function 'ts_highlighter' ...\start\telescope.nvim/lua/telescope/previewers/utils.lua:119: in function 'highlighter' ...scope.nvim/lua/telescope/previewers/buffer_previewer.lua:248: in function 'cb' vim/_editor.lua:263: in function <vim/_editor.lua:262>
That's unrelated.
Ok, thanks. I'll close the issue
Describe the bug
I am unable to install any parser from the nvim-treesitter module. The error
This error persists for every language I try to install from the file treesitter.lua
To Reproduce
To reproduce this behaviour is required only to start the nvim application (either CLI or from GUI) and run it on Windows.
Expected behavior
It is expected that all the parsers are successfully installed.
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
I also want to mention that if I run :TSInstall I still get the same error.
Another question, is normally to have .so files in Windows ?