treesitter not working #5
Replies: 2 comments 6 replies
-
Hey 👋 This plugin has nothing to do directly with nvim-treesitter. See this readme section for how to configure it. If you add
nvim-treesitter's
nvim-treesitter 0.9.2 targets Neovim 0.9, and many of its queries are outdated, compared to the parsers we install from luarocks (which come bundled with matching queries). If you do need it, you can install the
Or, with rocks-git.nvim, you can install it from the git repo
|
Beta Was this translation helpful? Give feedback.
-
Error in this line in toml config: [treesitter] auto_highlight = "all"NOTE: These are parsers, not filetypes.auto_highlight = [ |
Beta Was this translation helpful? Give feedback.
-
Hello! I have been using rocks since last weekend, it works awesome but unfortunately I cannot get treesitter to work correctly.
I have added
rocks-treesitter.nvim
but I get loads of messages about the tresitter lua file failing to load:[1/1] treesitter for rust has been installed
Could not load parser for rust: nvim-linux-x86_64/share/lua/vim/treesitter/launguage.lua:104
It was working with
lazy.nvim
before, I ported the configuration (what I could at least) but I have some trouble to make it work.Also, with the parser in lua i am experiencing this issue: nvim-treesitter/nvim-treesitter#2260.
My
rocks.toml
contain the following:Beta Was this translation helpful? Give feedback.
All reactions