Conversation
As far as I can see the Lua syntax is not defining any match or region or keyword directly on
I do want to look into that at some point and see if it’s possible to make it cooperate with treesitter. But I don’t use NeoVim so it’s somewhere on the back burner.
Wow, thank you. That is incredibly high praise.
Once more, thank you. Unfortunately after all that praise I’m going to have to disappoint you… because your request happens to concern Lua. 🙁 The plugin in fact used to have Lua support. However, I had to drop it (81ce955):
Looking at the Lua syntax again right now, it is still designed the same way (though it just recently switched from Now looking back at it with more experience (but also without the benefit of having had my head in the codebase recently), I think it’s not impossible to cooperate with the syntax – just a lot more work than for “normal” ones. Namely, the So the Lua support as submitted is incomplete – so I can’t ship it in CSS Color without the extra work. I don’t know if you can or want to tackle that yourself or if you’d have to wait for me. But if you haven’t seen or don’t mind the shortcomings yourself, you don’t need to wait and don’t have to patch the plugin: you can just put the file from your PR into |
I'm not sure if I'm supposed to have the
CommentandStringthere, but happy to remove it if needed.Thanks for maintaining this project!