Open errael opened 1 year ago
I'm not a Vim developer, so I have no say in what enters the release. For example, I still have this unmerged PR. Similarly, this one was never merged, nor this one (at least not in its original form).
Besides, there are still a lot of bugs to fix (see the TODOs in the syntax plugin; there are a dozen more in my local notes). Also, I don't know about the performance (especially on a low-end machine); maybe some improvement could/should be made.
And it might be too colourful for some people:
It's nice, but, gosh, this is way too colourful for my personal tastes 😅
After vim9.1 is released, stuff on the backlog is supposed to be considered; I hope there's a process to categorize and prioritize (I guess there's labels, but more might be needed). The boundary between included plugins and those that need to downloaded, doesn't seem very smooth; but I don't really know.
I do almost no customization or plugin installation. I get something, like with color highlights, I use it as is (unless there's something really offensive); and indentation is probably the most important thing about vim9-syntax. I never learned vimscript, and have no idea how stock vim handles vim9script syntax.
If I can figure out how to disable the vim9-syntax (un-installing seems so brutal), out of curiosity I'll take a look at how plain vim handles vim9script.
If I can figure out how to disable the vim9-syntax (un-installing seems so brutal), out of curiosity I'll take a look at how plain vim handles vim9script.
I've just pushed a commit to let you use the legacy syntax plugin. In a given buffer where you want to make a test, you can set the buffer-local variable b:force_legacy_syntax
to 1
or true
; then, reload the buffer.
I've also just documented how to install the plugin as an optional package in the README.
To disable/enable it, packadd! vim9-syntax
needs to be commented or uncommented in the vimrc.
how to install the plugin as an optional package
Thank you very much for this. I've always been confused about the whole package thing. With this small example I am now beginning to get it. I's also convenient to use ;-)
And I had a note to inform you about extends after interface; but it just showed up.
As far as being so colorful, when I checked out the regular, I missed the reliable/complete typing info and multi-line lambdas. And vim9-syntax is more nuanced, consider export.
If you want to bring it up on the dev list, I'd be happy to comment there.
I looked at a build based on today's release and don't see vim9-syntax in there. I looked prompted by #13047 (which you commented on).
Is there a reason this isn't available. I'd be very unhappy if I wasn't using it.