| Commit message (Collapse) | Author | Age |
... | |
| | | | | | |
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The stack allocated buffer does introduce an arbitrary limit,
to the length of the line.
Previously, if the line was too long, it might be catched by a
stack smash canary or resulted into a crash.
This is not guaranteed though, and thus could result into undefined
behavior.
To mitigate this, an dynamic allocated buffer is replacing the stack
allocated buffer, with the initial capacity of the copied line.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
On Windows, `new_lnum + MAXLNUM` causes overflow and as a result the
line number of that sign becomes invalid negative number. This occurs
when the `set signcolumn=yes`, in other words `signcolumn` is not `auto`
and the sign column is less than 2 columns.
The related change was made in the commit
f2ed7605da45eb79a4f7bb89fb19f680fb5a4927. Originally the above addition
is only executed if `amount != MAXLNUM`, so reintroducing this check
fixes the bug and will hardly produces a new bug.
Fixes https://github.com/neovim/neovim/issues/14460
|
| | | | |
| | | | |
| | | | | |
Closes https://github.com/neovim/neovim/issues/14467
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* doc & fixes: Generate treesitter docs
* fixup to treesitter-core
* docs(treesitter): fix docs for most functions
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
decorations: right_align and win_col
|
| |/ / / / |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"syntax on" overwrites existing highlight groups, while "syntax enable"
just sets missing groups. This change prevents user defined highlights in
init.vim/lua to get overwritten. The manual recommends "syntax enable" for
new configurations anyway, "on" command was probably used as it is the
implicit default.
|
| |/ /
|/| |
| | |
| | |
| | | |
problem: the order of non-focuesed float opened before focused float is wrong (sunjon)
solution: check curwin and correct the order (bfredl)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'splitright' (#14398)
Problem: :mksession uses current value of 'splitbelow' and 'splitright'
even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution: Save and restore the values, instead of setting to the current
value. (closes vim/vim#8119)
https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d
Patch v8.2.1682 is not ported.
Replace "goto fail;" with "return FAIL;".
|
| | |
| | |
| | |
| | |
| | | |
Previously vim.cmd was an alias of nvim_command().
From now on it is an alias of nvim_exec().
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.1588 - port `prompt_getprompt()`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Previous pattern could cause test to fail if ":buffers t" reported
"1 second ago".
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851)
https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803
Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e
and removed mention of method syntax usage (not supported by Nvim).
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Included from before v8.2.1588. Required for v8.2.1588.
Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cherry-picked from v8.2.1562, but uses Nvim's tv_check_str_or_nr().
Required for v8.2.1588.
It isn't used for f_bufnr() to avoid a double error message if the first
argument isn't a number or string similiar to what's seen in Vim.
|
| | |
| | |
| | |
| | |
| | | |
Previously nvim_exec would silent output no matter whether output
is true or false.
Now output is only silent and captured when output is true.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Neovim should not bundle external tools
that are not needed in the runtime environment.
cat.exe is meant for tests only.
Install a mingw/msys2/busybox environment which bundle cat.exe.
tidy.exe was never used in tests and is not required in Neovim runtime.
busybox and tidy.exe can be installed via scoop.
Ref: https://github.com/neovim/neovim/issues/14078
|
|\ \
| | |
| | | |
Handle 'orphaned signs' on line deletion for signcolumn >= 2
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: PSL filetype not recognized.
Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117)
https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
|
|\ \ \
| | | |
| | | | |
Extmarks: remove `curbuf->deleted_bytes2` from `op_delete`
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Extmarks: flush curbuf->deleted_bytes2 after calling do_move
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.2313,8.2.{2046,2769}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Some test failures don't give a clear error.
Solution: Use assert_match() and assert_fails() instead of assert_true().
(Ken Takata, closes vim/vim#7368)
https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes vim/vim#8104)
https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199
Cherry-pick AssertHighlightGroups from patch v8.2.2068.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: "eval" after "if 0" doesn't check for following command.
Solution: Add "eval" to list of commands that check for a following command.
(closes vim/vim#5640)
https://github.com/vim/vim/commit/a76b31542e1d83b7d2fe7378439912e800a4d0f6
|
|/ / /
| | |
| | |
| | |
| | | |
Cherry-picked from patch v8.1.1807.
Required for patch v8.2.2761.
|
|\ \ \
| |/ /
|/| | |
decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
|
| | | |
|
|\ \ \
| | | |
| | | | |
extmark: splice extmarks on :luado
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | | |
It looks solid with the default `FloatBorder` group.
If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you
effectively get an "1-cell padding".
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
:2,1>
should trigger backwards range error
but it is suppressed for inccomand.
:execute "2,1>"
does not suppress the error.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Loading menus sets v:errmsg.
Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin)
https://github.com/vim/vim/commit/e24c5b3332b453175e5f73423884087a4aef1247
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for Ex shift commands.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4801)
https://github.com/vim/vim/commit/d5e3cc11d391f3aa80bf66f91001f11a3a145b43
Comment out some tests because of Neovim inccomand.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Listlbr test fails when run after another test.
Solution: Add test separately to list of test targets.
https://github.com/vim/vim/commit/cf4d454df0619ee41ef40e7e91fce3fb061d7d5b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Search test contains unneeded sleeps.
Solution: Rename the function, remove sleeps. (Christian Brabandt,
closes vim/vim#7369)
https://github.com/vim/vim/commit/6bed0dbc8500be3ea751cc527a6ee89ca073a4d1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Search test leaves file behind.
Solution: Delete the file. Also use Check commands.
https://github.com/vim/vim/commit/b68df220c5278365792b8f94d8d6f34d329b7746
Reorder tests based on test_search.vim in patch v8.2.0409.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: "exptype_T" can be read as "expected type".
Solution: Rename to "exprtype_T", expression type.
https://github.com/vim/vim/commit/657137ca487c60d63989236115115161def270a5
Vim9 changes omitted.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: ETYPE_ is used for two different enums.
Solution: Rename one to use EXPR_.
https://github.com/vim/vim/commit/87396072c5c468f0c129e4ec7cd944ac897b7752
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Script test fails.
Solution: For numbers "is" and "isnot" work like "==" and "!=".
https://github.com/vim/vim/commit/ec57ec692eb228ee061824a190d7c451f029c430
|