Questions tagged [plugin-treesitter]
Gather question about the installation and the utilization of the vim-treesitter Neovim plugin
10
questions
0
votes
0
answers
29
views
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-...
0
votes
0
answers
40
views
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 ...
0
votes
0
answers
47
views
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 ...
0
votes
2
answers
365
views
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, ...
2
votes
0
answers
39
views
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....
0
votes
0
answers
423
views
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 ...
0
votes
1
answer
679
views
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 ...
3
votes
2
answers
3k
views
JSX highlighting with Neovim and nvim-treesitter
I'm using Neovim 0.6.0 with nvim-treesitter installed and I mostly work with JavaScript, Flow, TypeScript based React projects. This means, I also need syntax highlighting for JSX and TSX.
Syntax ...
1
vote
1
answer
2k
views
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 ...
2
votes
0
answers
348
views
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 ...