vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
547 stars 90 forks source link

Improve vim syntax #291

Closed zzdatura closed 2 years ago

zzdatura commented 2 years ago

I want to suggest some changes to the VIM syntax file. Let me try to summarize everything that's changed:

The keywords might be worth discussing further, even though I added a lot of them, there are still much more such as all the ones listed in asy-keywords.el. Maybe we could categorize them and add all of them in the syntax file? Or maybe that would be overkill? Many keywords are both functions and variables for instance and without LSP, just populating a syntax file might just lead to some oddities.