Thursday, December 3, 2020

Re: Vim9 dict key notation old fashion depreciated

On Thu, Dec 3, 2020 at 10:10 AM Bram Moolenaar <Bram@moolenaar.net> wrote:

> Oh, you mean using single quotes without the brackets works. Double
> quotes too. That is simpler. Somehow I didn't find this in the
> specification. I see questions on stack overflow from more people who
> are confused about this. Only for JSON it's clear that double quotes
> are always required.

Yeah, I meant 'fg+' (or "fg+").

d = {'key+': 'value'}

--
Felipe Contreras

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAMP44s1y4YhRMxkptz2iR%2B2H7cZUnMPvkB6D1v41yeaBAr634A%40mail.gmail.com.

No comments: