&sw = 1
var old_sw = &sw
echo exists('&newopt')
echo getcompletion('', 'option') # this might be capped though, at least
for other completions it is
for opt in getcompletion('', 'option')
echo opt
endfor
for opt in getcompletion('', 'option')
if !empty(opt)
exe "set " .. opt .. "?
Hi all,
Currently Vim options can be accessed from a Vim script by prefixing the
option name with a '&':
let &shiftwidth = 2
let oldval = &shiftwidth
The Python Vim interface supports a dictionary for accessing the Vim options
https://vimhelp.org/if_pyth.txt.html#python-options
The Lua Vim inte
Hi Bram,
On Sun, Jan 23, 2022 at 1:30 PM Bram Moolenaar
wrote:
> I wonder why this was closed
>
>
>
I don't know how this PR was closed. I have reopened it again.
- Yegappan
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are r
Patch 8.2.4198
Problem:Vim9: the switch for executing instructions is too long.
Solution: Move some code to separate functions.
Files: src/vim9execute.c
*** ../vim-8.2.4197/src/vim9execute.c 2022-01-18 17:43:01.061598437 +
--- src/vim9execute.c 2022-01-23 19:57:34.023716035 +
Patch 8.2.4197
Problem:Cannot use an import in the "expr" part of 'spellsuggest'.
Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
Files: src/evalvars.c, src/testdir/test_vim9_import.vim
*** ../vim-8.2.4196/src/evalvars.c 2022-01-23 14:17:24.631509344 +
Patch 8.2.4196
Problem:Various file types not recognized.
Solution: Add patterns to recognize more file types (closes #9607)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4195/runtime/filetype.vim2022-01-23 13:05:36.303210322
+
--- runtime/fil
Patch 8.2.4195
Problem:Resizing terminal may cause to behave like CTRL-Z.
Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
closes #9602, closes #9586)
Files: src/os_unix.c
*** ../vim-8.2.4194/src/os_unix.c 2022-01-02 19:25:22.850078488 +00
Patch 8.2.4194
Problem:MS-Windows: code for calculating font size is duplicated.
Solution: Move the code to a function. (Ken Takata, closes #9603)
Files: src/gui_w32.c
*** ../vim-8.2.4193/src/gui_w32.c 2022-01-23 12:31:53.757946551 +
--- src/gui_w32.c 2022-01-23 16:24
Patch 8.2.4193
Problem:Cannot use an import in 'charconvert'.
Solution: Set the script context when evaluating 'charconvert'. Also expand
script-local functions in 'charconvert'.
Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
*** ../vim-8.2.4192
Patch 8.2.4192
Problem:Cannot use an import in 'printexpr'.
Solution: Set the script context when evaluating 'printexpr'.
Files: src/evalvars.c, src/testdir/test_vim9_import.vim
*** ../vim-8.2.4191/src/evalvars.c 2022-01-22 20:55:26.548785095 +
--- src/evalvars.c 2022-0
Patch 8.2.4191
Problem:json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes #9601)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4190/runtime/filetype.vim2022-01-23 11:28:13.379203426
+
--- runtime/filetype.vim
Patch 8.2.4190
Problem:All conceal tests are skipped without the screendumps feature.
Solution: Only skip the tests that use screendumps. (closes #9599)
Files: src/testdir/test_conceal.vim
*** ../vim-8.2.4189/src/testdir/test_conceal.vim2021-09-16
21:31:48.023014473 +0100
--
Patch 8.2.4189
Problem:MS-Windows: code for "old look" is obsolete.
Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
closes #9596)
Files: src/gui_w32.c
*** ../vim-8.2.4188/src/gui_w32.c 2022-01-22 10:24:43.643499627 +
--- src/gui_w32.c
Hi Bram,
On Sun, Jan 23, 2022 at 11:20:08AM +, Bram Moolenaar
wrote:
> Thomas Kohler wrote:
[...]
> > So I type ENTER and ":help E1208" and get this:
> > E149: Sorry, no help for E1208
> >
> > Is there a help tag missing for E1208? It seems like it, as I
> > can't find E1208 in any of the h
Hi,
On Sun, Jan 23, 2022 at 03:20:04AM -0800, Maxim Kim wrote:
> Yes, we know about it, see https://github.com/vim/colorschemes/issues/54
Thanks for pointing me to this issue.
> This is something we would like to address in some future with the help of
> colortemplate author, @lifepillar
[...]
Patch 8.2.4188
Problem:Not all gitconfig files are recognized.
Solution: Add a few more patterns. (Tim Pope, closes #9597)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4187/runtime/filetype.vim2022-01-23 11:19:34.341430122
+
--- runtime/filet
Thomas Kohler wrote:
> For the first time in a long time, I wanted to compile vim by
> myself for testing a bit. So I ran configure (in order to set a
> PREFIX that would allow me to install vim in a temporary
> location, not screwing up vim that is installed in the system),
> ran make and make
Patch 8.2.4187
Problem:Gnuplot file not recognized.
Solution: Recognize ".gnuplot". (closes #9588)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4186/runtime/filetype.vim2022-01-21 14:55:10.169295589
+
--- runtime/filetype.vim2022-01-2
Yes, we know about it, see https://github.com/vim/colorschemes/issues/54
This is something we would like to address in some future with the help of
colortemplate author, @lifepillar
воскресенье, 23 января 2022 г. в 14:17:26 UTC+3, jean...@picard.franken.de:
> Hi all,
>
> On Tue, Jan 11, 2022 a
Hi all,
On Tue, Jan 11, 2022 at 04:10:23PM +0100, Christian Brabandt
wrote:
> On Di, 11 Jan 2022, Thomas Köhler wrote:
>
> > Actually, please let me know if any changes are required for
> > koehler.vim or let me have a look at the new version if you
> > already made those changes. I would take
Hi,
On Sun, Jan 23, 2022 at 10:19:50AM +0100, Ingo Karkat
wrote:
> On 23/01/2022 08:43, Thomas Köhler wrote:
> > [...]
> > So I type ENTER and ":help E1208" and get this:
> > E149: Sorry, no help for E1208
> > [...]
>
> I had recently experienced the same, with the error in one of my
> plugins,
On 23/01/2022 08:43, Thomas Köhler wrote:
> [...]
> So I type ENTER and ":help E1208" and get this:
> E149: Sorry, no help for E1208
> [...]
I had recently experienced the same, with the error in one of my
plugins, after upgrading to the latest Vim.
> Apart from that, I fail to see what's wrong w
22 matches
Mail list logo