Questions tagged [plugin-treesitter]
Gather question about the installation and the utilization of the vim-treesitter Neovim plugin
nvim-treesitter not working; throws error E5113
I just installed nvim-treesitter and it throws me this error message when starting nvim: Error detected while processing /home/MYUSERNAME/.local/share/nvim/plugged/nvim-treesitter/plugin/nvim-...
Is there a way to prioritize native syntax highlighting groups over nvim-treesitter in Neovim?
So I've been trying to add some syntax highlighting for lua-language-server annotations in Neovim. The language server is set up using lspconfig so I don't get builtin support for those highlights the ...
Configure treesitter for pywal.nvim
I am currently using the AlphaTechnology/pywal.nvim plugin in order to generate the colorscheme for my Neovim configuration. The only problem I have with this is that the .html files lack much color ...
Color theme displayed wrong
I could really use some help here... I have just migrated my nvim setup to all Lua and changed some plugins. I have added nvim-treesitter and tried a few themes. The themes change OK and get applied, ...
Parse files, hidden from the user
I am working on a snippet for C/C++ that can generate switch statements with cases from the types that an enum can have. So far I have some code that can get the type location from the language server....
Disable TreeSitter highlighting in inactive buffers
How can I disable TreeSitter highlighting in inactive buffers? I currently have all inactive buffers blurred and their syntax disabled, but I can't figure out how to disable the TreeSitter ...
How to install vim-treesitter?
I have installed neovim, it was cool so I installed vim-treesitter plugin. I'm trying to use it but I get some error message. I can't find solution about it. Could you help me? This is the error ...
JSX highlighting with Neovim and nvim-treesitter
Syntax highlighting is incomplete on neovim, fixed by calling Telescope
I have this problem that I would really like to get to the bottom of. If I open a file on neovim it will display like the broken syntax highlighting, see image below. Now, If I run :Telescope ...
Cannot get current node tree with treesitter in Lua in nvim
I am trying to get the AST tree to find the node I want. Based on the doc, I should be able to get the tree like this: local parser = vim.treesitter.get_parser(0, vim.o.filetype) print('check ...