> Doing
>
> vim -c 'vim9cmd g:["my-output-dir"] = "vglob-dir"'
>
> give this error
>
> Error detected while processing command line:
> E461: Illegal variable name: my-output-dir
>
> Turns out
>
> vim9script
> g:["foo-bar"] = "baz"
>
> also fails.
Both errors are intended: You cannot use a dash in a variable name.
--
ARTHUR: Then who is your lord?
WOMAN: We don't have a lord.
ARTHUR: What?
DENNIS: I told you. We're an anarcho-syndicalist commune. We take it in
turns to act as a sort of executive officer for the week.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/20230331183311.1953E1C0753%40moolenaar.net.