| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: no line break allowed inside a lambda.
Solution: Handle line break inside a lambda in Vim9 script.
https://github.com/vim/vim/commit/e40fbc2ca9fda07332a4da5af1fcaba91bed865b
Omit skip_expr_concatenate(). Apply the change to skip_expr() instead.
Omit eval_ga: Vim9 script only.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: fail to check for white space in list.
Solution: Add check for white space.
https://github.com/vim/vim/commit/e6e031739c9d0c4140e371031b58a249db0eb572
N/A patches for version.c:
vim-patch:8.2.1070: Vim9: leaking memory when lacking white space in dict
Problem: Vim9: leaking memory when lacking white space in dict.
Solution: Clear the typval.
https://github.com/vim/vim/commit/ab19d495fd880b25a38d58cbeb5b21e4d0ee5835
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: no line break allowed inside a dict.
Solution: Handle line break inside a dict in Vim9 script.
https://github.com/vim/vim/commit/8ea9390b78da9e34a20e7418712921397c0c1989
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: no line break allowed inside a list.
Solution: Handle line break inside a list in Vim9 script.
https://github.com/vim/vim/commit/7147820cb978f5b179cfec2f9d8b7774e28d43e0
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: no line break allowed before comperators.
Solution: Check for comperator after line break.
https://github.com/vim/vim/commit/e6536aa766e95b6c64489678eb029e6909ee6a35
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: no line break allowed before || or &&.
Solution: Check for operator after line break.
https://github.com/vim/vim/commit/be7ee488761a5582a5605197c3951a17f20d072e
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
Solution: Check for operator after line break.
https://github.com/vim/vim/commit/793648fb563359396a23740c72a6e04cb64df3a9
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|\ \
| | |
| | | |
vim-patch:8.2.{1047,1048,1049,1050,1052},9.0.1447
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Condition is always true.
Solution: Remove the useless condition. (closes vim/vim#12253)
https://github.com/vim/vim/commit/474891bc89e657100bd37c29129451a0e601879d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
https://github.com/vim/vim/commit/b171fb179053fa631fec74911b5fb9374cb6a8a1
Omit eval_next_line(): Vim9 script only.
vim-patch:8.2.1050: missing change in struct
Problem: Missing change in struct.
Solution: Add missing change.
https://github.com/vim/vim/commit/65a8ed37f7bc61fbe5c612a7b0eb0dfc16ad3e11
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Vim9: script cannot use line continuation like in a :def function.
Solution: Pass the getline function pointer to the eval() functions. Use it
for addition and multiplication operators.
https://github.com/vim/vim/commit/5409f5d8c95007216ae1190565a7a8ee9ebd7100
Omit source_nextline() and eval_next_non_blank(): Vim9 script only.
N/A patches for version.c:
vim-patch:8.2.1048: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
https://github.com/vim/vim/commit/9d40c63c7dc8c3eb3886c58dcd334bc7f37eceba
vim-patch:8.2.1052: build failure with older compilers
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
https://github.com/vim/vim/commit/7acde51832f383f9a6d2e740cd0420b433ea841a
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test for prompt buffer is flaky.
Solution: Use WaitForAssert() instead of TermWait(). (Ozaki Kiichi,
closes vim/vim#12247)
https://github.com/vim/vim/commit/ff6c230051ed2a2dbbbd517f51fe00c8ea27961b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vim-patch:8.2.0695: Vim9: cannot define a function inside a function
Problem: Vim9: cannot define a function inside a function.
Solution: Initial support for :def inside :def.
https://github.com/vim/vim/commit/04b12697838b232b8b17c553ccc74cf1f1bdb81c
vim-patch:8.2.0725: Vim9: cannot call a function declared later in Vim9 script
Problem: Vim9: cannot call a function declared later in Vim9 script.
Solution: Make two passes through the script file.
https://github.com/vim/vim/commit/09689a02840be40fa7bb10b1921fb5bc5b2908f1
vim-patch:8.2.0734: Vim9: leaking memory when using :finish
Problem: Vim9: leaking memory when using :finish.
Solution: Do not check for next line in third pass.
https://github.com/vim/vim/commit/04816717dfea6e2469ff4c9d40f68b59aaf03724
vim-patch:8.2.0753: Vim9: expressions are evaluated in the discovery phase
Problem: Vim9: expressions are evaluated in the discovery phase.
Solution: Bail out if an expression is not a constant. Require a type for
declared constants.
https://github.com/vim/vim/commit/32e351179eacfc84f64cd5029e221582d400bb38
vim-patch:8.2.0818: Vim9: using a discovery phase doesn't work well
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
https://github.com/vim/vim/commit/822ba24743af9ee1b5e7f656a7a61a38f3638bca
vim-patch:8.2.0819: compiler warning for unused variable
Problem: Compiler warning for unused variable.
Solution: Remove the variable.
https://github.com/vim/vim/commit/f40e51a880a95f94dbbbecc9476559506c2cc345
vim-patch:8.2.0822: Vim9: code left over from discovery phase
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
https://github.com/vim/vim/commit/2eec37926db6d31beb36f162ac00357a30c093c8
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|\ \
| | |
| | | |
fix: winbar is not redrawn on window change when 'showcmdloc' is "statusline"
|
| | |
| | |
| | |
| | |
| | | |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Unnecessary redrawing when 'showcmdloc' is not "last".
Solution: Redraw later when "showcmd_is_clear" is set. (Luuk van Baal,
closes vim/vim#12260)
https://github.com/vim/vim/commit/aa7f25ebf16b8be99239af1134b441e3da93060a
|
| | | |
|
|/ /
| |
| |
| | |
Now that we have builtin EditorConfig support and a formatting check in
CI, these are not necessary.
|
| | |
|
|\ \
| | |
| | | |
fix(api): make nvim_get_hl not return non-existing groups
|
| | |
| | |
| | |
| | | |
fixes #23063
|
|/ / |
|
|\ \
| | |
| | | |
feat(ex_cmds)!: remove :behave
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
just use the individual options instead.
set selection=exclusive
set selectmode=mouse,key
set mousemodel=popup
set keymodel=startsel,stopsel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Clang static analyzer gives warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes vim/vim#11043)
https://github.com/vim/vim/commit/c99e182e1fb54e39540d25d0ccd8dcdde25bb96c
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| | |
| | |
| | |
| | | |
We already have :checkhealth that essentially supersedes it with more
useful error checking.
|
| | |
| | |
| | |
| | |
| | | |
The function keeps track of the previously installed rock, meaning we no
longer need to manually keep track of the dependency chain. This will
make adding or removing rocks much easier.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
Solution: Use tv_get_string() instead of using v_string directly.
(closes vim/vim#12231, closes vim/vim#12227)
https://github.com/vim/vim/commit/ac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Estimated 'statuscolumn' width estimated is not properly used,
executing the `w_redr_statuscol` path unnecessarily.
Solution: Adjust `w_nrwidth` and 'statuscolumn' width before anything
is actually drawn in a `win_update()`.
|
| | | |
|
|/ /
| |
| |
| | |
See `:h diagnostic-structure`, the property name is `bufnr`, not
`buffer`.
|
| |
| |
| |
| |
| |
| | |
Problem: No commentstring is set for C# buffers after removing the
default C-style commentstring
Solution: Add `ftplugin/cs.lua` with C-style commentstring
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Using :CheckHealth invokes an error, and many of the features from :checkhealth
doesn't even work such as calling only a specific check. Users should use
:checkhealth instead.
|
| |
| |
| |
| |
| |
| | |
Compilers have much more reliable -O3 output these days, so this
workaround is likely not needed.
Closes https://github.com/neovim/neovim/issues/23008.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Vimball is an outdated feature that is rarely used these days. It is not
a maintenance burden on its own, but it is nonetheless dead weight and
something we'd need to tell users to ignore when they inevitably ask
what it is.
See: https://github.com/neovim/neovim/pull/21369#issuecomment-1347615173
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the `test_rpc_server` procedure, both `on_setup` and `on_init`
callbacks can run concurrently in some scenarios. This caused some CI
failures in tests for the LSP set_defaults feature.
This commit attempts to fix this by merging those two callbacks in the
impacted tests.
See: https://github.com/neovim/neovim/actions/runs/4553550710/attempts/1
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
fix(treesitter): use the correct replacement args for #gsub! directive
|
| | |
|
| |
| |
| | |
Fix #21169
|
| |
| |
| | |
fix(health): combine python and virtualenv health checks
|
| | |
|
| | |
|
| |
| |
| | |
This is required to remove the vimscript checkhealth functions.
|
| |
| |
| | |
This is required to remove the vimscript checkhealth functions.
|
|\ \
| | |
| | | |
fix(api): do not re-apply win_config.style when missing
|