| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
retrun a structured version dict
:lua print(vim.inspect(vim.version()))
{
api_compatible = 0,
api_level = 7,
api_prerelease = true,
major = 0,
minor = 5,
patch = 0
}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Insufficient tests for setting options.
Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7695)
https://github.com/vim/vim/commit/85773bf32b51cbe7e971c5ac11cb9c743bb7a38a
Cherry-pick some test cases for Test_set_error()
from patches v8.2.0540, v8.2.0551.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
Solution: Reset 'lazyredraw' temporarily. (closes vim/vim#7687)
https://github.com/vim/vim/commit/7c886db915035bc064ca307f02c34ae9d99cc733
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes vim/vim#7688)
https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429
Cursor showing/hiding is moved from core to TUI.
":sleep!" behaves the same as ":sleep".
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test leaves file behind.
Solution: Delete the right file. (Dominique Pellé, closes vim/vim#7689)
https://github.com/vim/vim/commit/a3b494d6afa79aedce42fa4ecc7ef0dbae79e37e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Stray test failure on Appveyor.
Solution: Finish insert command.
https://github.com/vim/vim/commit/97c6943e11516711541848e51db3cc2ace25bbb2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Spartql files are not detected.
Solution: Add the sparql filetype. (closes vim/vim#7679)
https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{2329,2334}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Pascal-like filetypes not always detected.
Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
closes vim/vim#7662)
https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not all ways Vim can be started are tested.
Solution: Add a test for different program names. (Dominique Pellé,
closes vim/vim#7651)
https://github.com/vim/vim/commit/df4c9af7e73aa5d0fb5bf4c0e19a39b4e1d73517
|
|/ / /
| | |
| | |
| | |
| | | |
while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Close https://github.com/neovim/neovim/issues/8614
Use uv_os_homedir and current directory as backup if HOME env is not set.
Allocate homedir only if var is not NULL.
|
|\ \ \
| | | |
| | | | |
screen.c: fix last character on foldtext
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before this commit, a folded line would display a trailing character
with
bin/nvim -u ~/test.vim --cmd "hi NonText ctermbg=3" --cmd "hi Search ctermbg=2" --cmd "set listchars+=extends:X nowrap list" ~/test.txt
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Last character on a folded line was sometimes highlighted with the
"Search" highlight. Solves this along with some remaining "curwin".
|
|\ \ \ \
| |/ / /
|/| | | |
vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940)
https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Porting it to test/functional/legacy/backspace_opt_spec.lua
was a mistake.
Tests pass after commenting out some lines for Vi compatibility.
File is copied from Vim as of patch v8.2.0540.
Patch v8.2.0540 cannot be fully ported yet.
This file is a prequisite for future v8.2.x patches.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: After deleting a file mark it is still in viminfo.
Solution: When a file mark was deleted more recently than the mark in the
merged viminfo file was updated, do not store the mark. (Pavol
Juhas, closes vim/vim#5401, closes vim/vim#1339)
https://github.com/vim/vim/commit/8cd6cd8087ccf08e4303dbf5f732fc4b82b917e1
Neovim's ShaDa is incompatible with Vim's "viminfo"
so "viminfo" tests fail.
N/A patches for version.c:
vim-patch:8.1.1731: command line history not read from viminfo on startup
Problem: Command line history not read from viminfo on startup.
Solution: Get history length after initializing it.
https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50
vim-patch:8.1.1764: ":browse oldfiles" is not tested
Problem: ":browse oldfiles" is not tested.
Solution: Add a test.
https://github.com/vim/vim/commit/5328cb8986d2620f45b41acf28778f8ce2f8cac1
vim-patch:8.1.2111: viminfo file not sufficiently tested
Problem: Viminfo file not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5009)
https://github.com/vim/vim/commit/2a8d3b8997d4fe94bc9c02ae04e873eab2f13b09
vim-patch:8.1.2126: viminfo not sufficiently tested
Problem: Viminfo not sufficiently tested.
Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan,
closes vim/vim#5032)
https://github.com/vim/vim/commit/6bd1d7706766a7899904163e8fd55ea117fb1953
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sign_id was not reset when filler lines were involved, thus causing a
bad alignment between columns.
You could check that before this commit,
bin/nvim -u NORC --cmd "setglobal signcolumn=yes:4" --cmd "set diffopt+=foldcolumn:0" -d ../test1.txt ../test2.txt
would result in an irregular column width.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
https://github.com/vim/vim/commit/cfb4b47de08e4437c692d382067dc1692cd83c23
Cherry-pick the column number fix from patch v8.2.0871
because patch v8.2.0871 cannot be fully ported
without the method patches.
Co-authored-by: Peter Wolf <pwolf2310@gmail.com>
|
| |
| |
| |
| | |
Fixes #13541
Neovim would crash when trying to map a key on non existant buffer
|
| |
| |
| |
| |
| | |
NB: currently this invalidates all extmarks inside the region.
Later on within-line extmarks could be preserved
|
|\ \
| | |
| | | |
vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Confusing error message when range is not allowed.
Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for
consistency.
https://github.com/vim/vim/commit/0acae7acc40b9f12bff88d5e1dae494a761fec07
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No early check if :find and :sfind have an argument.
Solution: Add EX_NEEDARG.
https://github.com/vim/vim/commit/2d10cd478047df8ba144d4b0fcc46480993af57f
Cherry-pick Test_find_cmd() from patch v8.2.0270.
Use "exe 'cd ' . save_dir" pattern
because patches v8.1.1291, v8.1.2278 are not ported yet.
Cherry-pick modeline from patch v8.1.1432.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
https://github.com/vim/vim/commit/8071cb2c646c9d38dcd4e3ccd377dce07705f031
N/A patches for version.c:
vim-patch:8.1.1672: "make cmdidxs" doesn't work
Problem: "make cmdidxs" doesn't work.
Solution: Update macro names. (Naruhiko Nishino, closes vim/vim#4660)
https://github.com/vim/vim/commit/d94ac0caca12c6ceb54b07fc932edba84a5f60f2
Error message for src/nvim/ex_cmds.lua
which omits the "EX_" prefix for the flags.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes vim/vim#5527, closes vim/vim#6216)
https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes vim/vim#5861)
https://github.com/vim/vim/commit/7b1b36b1cb744e87adfbef88b7ce26c863b0594a
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution: Add an extra WaitForAssert(). (Dominique Pelle)
https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Missing feature check in test function.
Solution: Add check commands.
https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Test_confirm_cmd is flaky.
Solution: Add a term_wait() call. (closes vim/vim#5854)
https://github.com/vim/vim/commit/72749f062f15c7147f512bc581695c25ad78fb4e
Cherry-pick Test_confirm_cmd() from patch v8.2.0203
because that patch modifies multiple files.
Copied code is based on Test_confirm_cmd() as of patch v8.2.0456.
N/A patches for version.c:
vim-patch:8.2.2274: badge for Travis is outdated
Problem: badge for Travis is outdated.
Solution: Update badge for move from travis-ci.org to travis-ci.com.
https://github.com/vim/vim/commit/2f91e2f8da572123e53ae7579dde57c750137def
vim-patch:8.2.2277: missing backslash
Problem: Missing backslash.
Solution: Add backslash.
https://github.com/vim/vim/commit/9281c6cae4e1cec2c661487d761d407bad7c6ad6
|
|\ \
| |/
|/| |
vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
|
| |
| |
| |
| |
| |
| | |
Problem: Not all :hardcopy code covered by tests.
Solution: Test more combinations. (Dominique Pellé, closes vim/vim#7595)
https://github.com/vim/vim/commit/edc10b541b468f5f5aa2e2d5ef58a3e17e043bff
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Printmbcharset option not tested.
Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
Pelle, closes vim/vim#5783)
https://github.com/vim/vim/commit/833805a4867cf5f93b3ef91227d1f1a98f553dff
|
| |
| |
| |
| |
| |
| | |
Problem: Window resize test fails in very wide terminal.
Solution: Resize using the 'columns' option. (Vladimir Lomov, closes vim/vim#7592)
https://github.com/vim/vim/commit/5efe0e5d16db070f0ab0b944686139e597afe166
|
| |
| |
| |
| |
| |
| | |
Problem: Not all OCaml related files are detected.
Solution: Update OCaml file type detection. (Markus Mottl, closes vim/vim#7590)
https://github.com/vim/vim/commit/beef4eeda5c6865fcfe46db43ae71429a2025b58
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
topic
Problem: Running lhelpgrep twice in a help window doesn't jump to the help
topic.
Solution: Check whether any window with the location list is present.
(Yegappan Lakshmanan, closes vim/vim#6215)
https://github.com/vim/vim/commit/ec98e93a82379ca9289d8021aec374aa6798afef
|
| |
| |
| |
| |
| |
| | |
Problem: Quickfix test coverage can still be improved.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5276)
https://github.com/vim/vim/commit/15a7bdcb77faabbd3a9a889957f810da2bcda13e
|
| |
| |
| |
| |
| |
| | |
Problem: Function argument copied unnecessarily.
Solution: Use the argument directly.
https://github.com/vim/vim/commit/1b03a193b3394597e4ed86aeea1e1b2c60ae9ad2
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot specify a count with :chistory.
Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
closes vim/vim#4344)
https://github.com/vim/vim/commit/8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot navigate to errors before/after the cursor.
Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan,
closes vim/vim#4340)
https://github.com/vim/vim/commit/cf6a55c4b0cbf38b0c3fbed5ffd9a3fd0d2ede0e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No error for quickfix commands with negative range.
Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make
assert_fails() show the command if the error doesn't match.
https://github.com/vim/vim/commit/25190db225d63e185e77e043e694ef455b3cf304
N/A patches for version.c:
vim-patch:8.2.0113: "make cmdidxs" fails
Problem: "make cmdidxs" fails.
Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
https://github.com/vim/vim/commit/9b24dfcb9f676e7f7a09a9062f0d05b2104a87eb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Ex command info contains confusing information.
Solution: When using the NOTADR flag use ADDR_OTHER for the address type.
Cleanup code using NOTADR. Check for errors in
create_cmdidxs.vim. Adjust Makefile to see the errors.
https://github.com/vim/vim/commit/b731689e85b4153af7edc8f0a6b9f99d36d8b011
Use Lua's "assert()" to make an invalid command definition
a compilation error.
Misc changes:
Remove 'RESTRICT' flag.
Neovim does not support "restricted" mode
since commit 7777532cebcfa9abc5ab2c7beae77f386feed3ca.
TODO:
Do not generate files before Lua assertions
so that CMake always runs the generator script
if the previous build has an invalid command definition.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Quickfix test fails.
Solution: Negate result of bt_quickfix().
https://github.com/vim/vim/commit/61eeeea8e6455b1f36905c45a62ea8414f2f1dab
Patch v8.1.1547 introduces the bug that is fixed by this patch.
N/A patches for version.c:
vim-patch:8.1.1590: popup window test fails
Problem: Popup window test fails.
Solution: Add "scrollbar" to expected result.
https://github.com/vim/vim/commit/6c6a603cd2db9cbd51c9b4e3ff44cbab72b98592
vim-patch:8.1.1881: popup window test fails in some configurations
Problem: Popup window test fails in some configurations.
Solution: Check that screendumps can be made.
https://github.com/vim/vim/commit/f4665e78f2d1b2ca64de5f5331d03de7d61c8c66
vim-patch:8.1.2079: popup window test fails without +terminal
Problem: Popup window test fails without +terminal.
Solution: Check for the +terminal feature.
https://github.com/vim/vim/commit/d2c1fb476d5816db129eb428ffef6a81027eb13a
vim-patch:8.1.2322: quickfix test fails in very big terminal
Problem: Quickfix test fails in very big terminal.
Solution: Adjust the expected result for the width. (Masato Nishihata,
closes vim/vim#5244)
https://github.com/vim/vim/commit/ffc4fb8fee4521a86670ae791411e319b6a2e1fd
Patch v8.1.2339 reverts the change but patch v8.1.2340 restores it.
Port of patch v8.1.2340 was merged and includes changes from patches
v8.1.2320, v8.1.2322, v8.1.2339.
vim-patch:8.2.2255: Tcl test fails
Problem: Tcl test fails.
Solution: Change option handling.
https://github.com/vim/vim/commit/1779ff48427931736998a6e5621b5cbe4d99c3e3
|