Closed wSedlacek closed 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.
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.