Re: [vim/vim] Feature Request: can use setbufvar() to set window options before buffer has a window (Issue #21089)
h_east (Vim Github Repository) <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/issues/21089/[email protected]> |
h-east left a comment (vim/vim#21089)
'number' is a local to window option.
The documentation states that the "a local to window" option cannot be changed using `setbufvar()`.
```
setbufvar({buf}, {varname}, {val}) *setbufvar()*
Set option or local variable {varname} in buffer {buf} to
{val}.
This also works for a global or local window option, but it
doesn't work for a global or local window variable.
For a local window option the global value is unchanged. <-----
```
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/21089#issuecomment-5345493881
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/issues/21089/[email protected]>
--
--
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 visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/21089/5345493881%40github.com.