Wednesday, February 16, 2022

Re: Vim9 - Can not get compile to recognize a deep variable

Samson,

global, buffer, window and tabpage variables do not have a specific type. This
is explained under ":help variable-types".

Ben


On 2022-02-16, Chainsaw wrote:
> Bram,
>
> First, thank you for Vim. What you have created is amazing, and has literally
> filled every void I had in my workflow, from text editing, to writing software
> to streamline specific tasks, and infinitely more. The only thing I don't like
> is I use Vim so much, that I find myself typing a ':' everywhere, on desktop,
> in title bar of browser, and I tried to save a file today in Word by typing ':w'.
>
> I put the 'udp' declaration outside of the function and made global. That worked,
> thank you. However, the declaration 'g:udp: list<string>' gives an E488 error.
> So, I tried 'g:udp = []' and that worked. Can you please explain the proper way
> to declare the list globally, because I thought the first way was correct.
>
> Thank you,
> Samson
>
>
>
>
> --
> --
> 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/20220216182719.00003249%40cfl.rr.com.

--
--
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/Yg23RpVhCFouvrU/%40laptop.homenetwork.

No comments: