dlvandenberg / tree-sitter-angular

Tree Sitter Grammar for Angular
MIT License
34 stars 9 forks source link

fix: correct lua syntax for autocmd example #2

Closed wSedlacek closed 9 months ago

wSedlacek commented 9 months ago

When adding this as described there was a lua syntax error since . is not a valid character when defining keys like this. I believe this is what you had intended.

Also, how do you run this? I was looking for some .lua entrypoint or something I could load with lazy.nvim but I haven't seen one.

dlvandenberg commented 9 months ago

Ah, thanks. I did not get a chance to test this autocommand (the other I did test). If you add this to a file like ~/.config/nvim/ftdetect/angular.lua then neovim should pick it up. I tried it and that works for me.