I suggest adding feature 'vim9' testable by has()
This is for consistency, it is not absolutely necessary since ":if
exists(':vim9script') == 2" should give the same result.
I suppose the following is an oversight: In my current 8.2.279 builds,
exists(':vim9script') returns 2 in the Huge build and 0 in the Big
build, which might be expected. However exists(':vim9') returns 1 in
both, which I don't explain. When typing :vim9 at the command-line
followed by <Tab> there is no proposed completion AFAICT, not even in
the Huge build. But :import, :export, :def, :enddef and :disassemble
all return 2 in exists(), even in the Big build, and :disa<Tab> gets
completed to :disassemble and vim9script is one of the proposed
completions for :vi<Tab> (both even in Big).
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtV1u9yEmSNS-J7b8uEraA%3DLOwiuY5_CeKaBku0yjjG2g%40mail.gmail.com.