aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | remove -Z line translationssrafi12021-01-15
| | | |
| * | | remove -Z entry from --helpsrafi12021-01-15
| | | |
* | | | api: add vim.version (#13762)Michael Lingelbach2021-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 }
* | | | vim-patch:8.2.2368: insufficient tests for setting optionsJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | vim-patch:8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'Jan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | vim-patch:8.2.2366: when using ":sleep" the cursor is always displayedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | | | vim-patch:8.2.2360: test leaves file behindJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test leaves file behind. Solution: Delete the right file. (Dominique Pellé, closes vim/vim#7689) https://github.com/vim/vim/commit/a3b494d6afa79aedce42fa4ecc7ef0dbae79e37e
* | | | vim-patch:8.2.2355: stray test failure on AppveyorJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Stray test failure on Appveyor. Solution: Finish insert command. https://github.com/vim/vim/commit/97c6943e11516711541848e51db3cc2ace25bbb2
* | | | vim-patch:8.2.2353: spartql files are not detectedJan Edmund Lazo2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Spartql files are not detected. Solution: Add the sparql filetype. (closes vim/vim#7679) https://github.com/vim/vim/commit/17d015b2438e51d4d42d72720611d16c772cc4bb
* | | | log.c: warn instead of error on failed stdpath('cache') creationMichael Lingelbach2021-01-16
| | | |
* | | | logs: make kXDGCacheHome if it doesn't exist (#13758)Michael Lingelbach2021-01-16
|/ / /
* | | Merge pull request #13750 from janlazo/vim-8.2.2329Jan Edmund Lazo2021-01-14
|\ \ \ | | | | | | | | vim-patch:8.2.{2329,2334}
| * | | vim-patch:8.2.2334: Pascal-like filetypes not always detectedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | vim-patch:8.2.2329: not all ways Vim can be started are testedJan Edmund Lazo2021-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
|/ / / | | | | | | | | | | | | 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`.
* | | Use uv_os_homedir and current directory as backup when $HOME is not set (#13657)ffanzhang2021-01-10
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #13704 from teto/fix-fold-listMatthieu Coudron2021-01-10
|\ \ \ | | | | | | | | screen.c: fix last character on foldtext
| * | | screen.c: fix an issue with wrap and foldsMatthieu Coudron2021-01-07
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | screen.c: fix last character on foldtextMatthieu Coudron2021-01-06
| | | | | | | | | | | | | | | | | | | | Last character on a folded line was sometimes highlighted with the "Search" highlight. Solves this along with some remaining "curwin".
* | | | Merge pull request #13689 from janlazo/vim-8.2.0050Matthieu Coudron2021-01-06
|\ \ \ \ | |/ / / |/| | | vim-patch:8.1.{1731,1764,2111,2126},8.2.{50,590}
| * | | vim-patch:8.2.0590: no 'backspace' value allows ignoring the insertion pointJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | test/old: restore test_backspace_opt.vimJan Edmund Lazo2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | vim-patch:8.2.0050: after deleting a file mark it is still in viminfoJan Edmund Lazo2021-01-05
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / | screen.c: fix display of signcolumn=auto in diffs (#13688)Matthieu Coudron2021-01-05
|/ / | | | | | | | | | | | | | | | | | | 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.
* | input: consider "-- more --" state to be blocking, fixes #11899Björn Linse2021-01-04
| |
* | vim-patch:8.2.0861: cannot easily get all the current marks (#13676)Jan Edmund Lazo2021-01-03
| | | | | | | | | | | | | | | | | | | | | | 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>
* | fix: check for valid buffer handles in modify_keymap (#13543)Thomas Vigouroux2021-01-03
| | | | | | | | Fixes #13541 Neovim would crash when trying to map a key on non existant buffer
* | buffer updates: mark sorted region as changed.Björn Linse2021-01-03
| | | | | | | | | | NB: currently this invalidates all extmarks inside the region. Later on within-line extmarks could be preserved
* | Merge pull request #13665 from janlazo/vim-8.2.0917Matthieu Coudron2021-01-03
|\ \ | | | | | | vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
| * | vim-patch:8.1.1822: confusing error message when range is not allowedJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | 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
| * | vim-patch:8.2.0407: no early check if :find and :sfind have an argumentJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | vim-patch:8.1.1667: flags for Ex commands may clash with other symbolsJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | vim-patch:8.2.0917: quickfix entries do not suport a "note" typeJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | | | | 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
* | | vim-patch:8.2.0470: Test_confirm_cmd_cancel() can fail on a slow systemJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | 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
* | | vim-patch:8.2.0461: confirm test fails on amd64 systemJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | Problem: Confirm test fails on amd64 system. (Alimar Riesebieter) Solution: Add an extra WaitForAssert(). (Dominique Pelle) https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4
* | | vim-patch:8.2.0458: missing feature check in test functionJan Edmund Lazo2021-01-02
| | | | | | | | | | | | | | | | | | Problem: Missing feature check in test function. Solution: Add check commands. https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2
* | | vim-patch:8.2.0456: Test_confirm_cmd is flakyJan Edmund Lazo2021-01-02
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #13655 from janlazo/vim-8.2.2255Jan Edmund Lazo2021-01-01
|\ \ | |/ |/| vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
| * vim-patch:8.2.2269: not all :hardcopy code covered by testsJan Edmund Lazo2021-01-01
| | | | | | | | | | | | 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
| * vim-patch:8.2.0388: printmbcharset option not testedJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | 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
| * vim-patch:8.2.2260: window resize test fails in very wide terminalJan Edmund Lazo2021-01-01
| | | | | | | | | | | | 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
| * vim-patch:8.2.2258: not all OCaml related files are detectedJan Edmund Lazo2021-01-01
| | | | | | | | | | | | 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
| * vim-patch:8.2.0934: lhelpgrep twice in help window doesn't jump to the help ↵Jan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | 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
| * vim-patch:8.1.2360: quickfix test coverage can still be improvedJan Edmund Lazo2021-01-01
| | | | | | | | | | | | 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
| * vim-patch:8.1.2411: function argument copied unnecessarilyJan Edmund Lazo2021-01-01
| | | | | | | | | | | | Problem: Function argument copied unnecessarily. Solution: Use the argument directly. https://github.com/vim/vim/commit/1b03a193b3394597e4ed86aeea1e1b2c60ae9ad2
| * vim-patch:8.1.1281: cannot specify a count with :chistoryJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | 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
| * vim-patch:8.1.1275: cannot navigate to errors before/after the cursorJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | 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
| * vim-patch:8.1.1261: no error for quickfix commands with negative rangeerw72021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * vim-patch:8.1.1241: Ex command info contains confusing informationJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * vim-patch:8.1.1549: quickfix test failsJan Edmund Lazo2020-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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