aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* Merge pull request #13687 from paddor/masterBjörn Linse2021-01-05
|\ | | | | remove trailing tabs
| * remove trailing tabsPatrik Wenger2021-01-04
|/
* Merge pull request #13590 from bfredl/tsqueryBjörn Linse2021-01-04
|\ | | | | treesitter: simplify query reading logic
| * treesitter: simplify query reading logicBjörn Linse2021-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the plugin/package manager should "manage" after/. Consumers of nvim_get_runtime_file() should not need to special case it (if your plugin manager is broken then fix it instead). Don't use vim.fn.readfile(). Lua can already read files. It is even better at it than vim script. expose M.get_query_files(). Listing the queries is essential for user config debug, and let plugins do fun things with it. Abstraction-by-obscurity is not useful (plugins can just cargo cult copy the code anyway, better with public entry points).
* | Merge pull request #11906 from bfredl/moreblockBjörn Linse2021-01-04
|\ \ | |/ |/| consider "-- more --" state to be blocking
| * 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>
* LSP: fix messageRequest to not return nested title (#13674)Michael Lingelbach2021-01-03
| | | | | * LSP: fix window/showMessageRequest to not return nested title * Add window/showMessageRequest handler to docs
* 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
* Merge pull request #13669 from bfredl/sortspliceBjörn Linse2021-01-03
|\ | | | | buffer updates: mark sorted region as changed.
| * 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
| * tests: make treesitter its own categoryBjörn Linse2021-01-03
|/
* 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
* | ci: Fix typo in release.yml that prevents optimized nightly build (#13671)Collided Scope2021-01-03
| | | | | | Assuming the `CMAKE_BUILD_TYPE` directive is case-sensitive, this *actually* prevents the nightly build from being optimized. Even if it doesn't, the typo causes `:checkhealth` to issue a dummy warning in the Performance section.
* | Merge pull request #13670 from janlazo/vim-8.2.2274Jan Edmund Lazo2021-01-02
|\ \ | |/ |/| vim-patch:8.2.{456,458,461,470,2274,2277}
| * 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 #13649 from mjlbach/move_from_nvim-lspconfigMatthieu Coudron2021-01-01
|\ | | | | LSP: Move workspace/configuration from nvim-lspconfig to core
| * LSP: add test for workspace/configuration handlerMichael Lingelbach2021-01-01
| |
| * LSP: Move workspace/configuration handler from nvim-lspconfig to coreMichael Lingelbach2021-01-01
| |
| * LSP: Add helper function from accessing language server settings from ↵Michael Lingelbach2021-01-01
| | | | | | | | nvim-lspconfig
* | LSP: progress callback should only update existing dict for reports (#13652)jdrouhard2021-01-01
| | | | | | Change the update of the client.messages.progress table to overwrite only the percentage and message properties on $report, Previously we were overwriting the table which meant client.messages.progress[token].message.title was wiped on report.
* | 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}
| * | test/win: skip vargs memory usage on Github ActionsJan Edmund Lazo2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | This test can fail on any of the Windows builds because Github Actions does not provide enough stability and enough memory for all runners.. Check test requirements before running any test cases to avoid duplicate checks.
| * | 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
| * | test, legacy/assert_spec.lua: fix few tests failerw72021-01-01
| | | | | | | | | | | | | | | Adjust failing tests to current behavior due to changes in assert_fails behavior by fbd6a86.
| * | 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
| * | test, provider/define_spec.lua: fix few tests failerw72021-01-01
| | | | | | | | | | | | | | | fbd6a86 changes the behavior of :command-range and no longer allows arbitrary numbers. Adjust tests to reflect this behavior.
| * | 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
* | docs: nvim_buf_set_textTJ DeVries2021-01-01
| |
* | Merge pull request #11833 from bfredl/set_textBjörn Linse2021-01-01
|\ \ | | | | | | nvim_buf_set_text
| * | api: set_text: fix some byte count issuesBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | add byte count tests update documentation
| * | api: set_text: more tests, and fixing lintchentau2021-01-01
| | | | | | | | | | | | | | | | | | | | | | | | removing pending virtcol tests Allow passing in empty array as a shorthand for array with empty string; add more documentation add check for start_row as well
| * | api: set_text: rebase, update to new api, and add more testsTony Chen2021-01-01
| | |