kaicataldo / material.vim

🎨 A port of the Material color scheme for Vim/Neovim
MIT License
610 stars 71 forks source link

W18: Invalid character in group name #70

Closed Goku-San closed 1 year ago

Goku-San commented 1 year ago

Hello, I just updated and got this error. I use vim 9.0.0910. I tried to debug and the problem is in this file, the work that you did yesterday :) https://github.com/kaicataldo/material.vim/commit/05efa0cc016984d7cecd4c54ac9fb4a612132067

I solved it by adding if condition after L563 " Tree-sitter , upto L591.

if has('nvim')
...
endif

I don't know how to ask if it has tree-sitter :D

Found possible other solutions, but I don't know how to implement them. elixir issue on nvim-treesiter repo and among the comments I found this

If you could be kind enough to implement at least the if statement :)

Thanks.

kaicataldo commented 1 year ago

Thanks for the report. I don't have time to fix this myself right now, but I'll go ahead and revert that last PR and ask the author to revisit if they'd still like to work on it.