EmranMR / tree-sitter-blade

tree-sitter grammar for Laravel blade files
MIT License
199 stars 8 forks source link

tree-sitter-blade not working for me: #46

Closed sandersjj closed 11 months ago

sandersjj commented 11 months ago

Hi,

I am running neovim v0.9.4 on a mac M1.

When I run :echo nvim_get_runtime_file('parser', v:true), I seem to have multiple parser installed:

['/Users/sanders/.local/share/nvim/lazy/nvim-treesitter/parser', '/opt/homebrew/Cellar/neovim/0.9.4/lib/nvim/parser']

Now I don't believe I should uninstall or remove the nvim parser. If I understand this discussion correctly I have to do something with $VIMRUNTIME.

When doing a checkhealth I am getting an issue with this plugin specifically, even after running TSUpdate blade:

Screenshot 2023-12-12 at 08 42 18

This is my current setup

sandersjj commented 11 months ago

It was a mistake in my config. https://github.com/sandersjj/dotfiles22/blob/316352506c92d0741a0539e05920117a52edcbc3/vim/lua/plugins/treesitter.lua#L102 I removed these two lines and then it worked.