aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | fix(lua): make it possible to cancel vim.wait() with Ctrl-C (#19217)JP2022-07-19
| | |
* | | fix(mouse): click on global statusline with splits (#19390)Munif Tanjim2022-07-19
| | |
* | | fix(powershell): filter ":!" commands with args #19268Enan Ajmain2022-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Since 0b9664f5240be4d9e9d6882fcd398970fd3a9532 powershell filtered :[range]! commands with args causes error: "Start-Process: A positional parameter cannot be found that accepts argument ..." Solution: Pass args to Start-Process via `-ArgumentList`. closes #19250
* | | Merge pull request #19167 from dundargoc/refactor/conversionLewis Russell2022-07-18
|\ \ \ | |/ / |/| | refactor: enable -Wconversion warning for memline.c
| * | refactor: enable -Wconversion warning for memline.cDundar Goc2022-06-30
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | fix(windows):exepath, stdpath return wrong slashes #19111Enan Ajmain2022-07-17
| |/ |/| | | | | | | | | exepath and stdpath should respect shellslash and return path with proper file separator. Closes #13787
* | vim-patch:9.0.0055 (#19392)Gregory Anders2022-07-17
| | | | | | | | | | | | | | | | vim-patch:9.0.0055: bitbake files are not detected Problem: Bitbake files are not detected. Solution: Add bitbake filetype detection by file name and contents. (Gregory Anders, closes vim/vim#10697) https://github.com/vim/vim/commit/fa49eb482729a5fe7da9c9a5ed8d14f68afa55c7
* | feat(defaults): mouse=nvi #19290matveyt2022-07-17
| | | | | | | | | | | | | | | | | | | | Problem: Since right-click can now show a popup menu, we can provide messaging to guide users who expect 'mouse' to be disabled by default. So 'mouse' can now be enabled by default. Solution: Do it. Closes #15521
* | vim-patch:8.2.2427: can still switch windows for 'completefunc'zeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | Problem: Can still switch windows for 'completefunc'. Solution: Also disallow switching windows for other completions. https://github.com/vim/vim/commit/3eb6bd9c2b36dcce471bfb543c8d5488f1dc17a4 Assert E565 instead of E578. Need to assert a different string because patch 8.2.1919 hasn't been ported yet.
* | vim-patch:8.2.2426: allowing 'completefunc' to switch windows causes troublezeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Allowing 'completefunc' to switch windows causes trouble. Solution: use "textwinlock" instead of "textlock". https://github.com/vim/vim/commit/28976e2accf11591c60e8a658a9e03544f0408b2 Assert E565 instead of E578. vim-patch:8.2.0670: cannot change window when evaluating 'completefunc' Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window. https://github.com/vim/vim/commit/6adb9ea0a6ca01414f4b591f379b0f829a8273c0 vim-patch:8.2.5029: "textlock" is always zero Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes vim/vim#10489) https://github.com/vim/vim/commit/cfe456543e840d133399551f8626d985e1fb1958
* | vim-patch:8.2.2424: some tests are known to cause an error with ASANzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Move CheckNotMSWindows to the right place. Omit test_memory_usage.vim: a Lua test is used for this file.
* | vim-patch:8.2.1984: cannot use :vimgrep in omni completionzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | Problem: Cannot use :vimgrep in omni completion, causing C completion to fail. Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes vim/vim#7292) https://github.com/vim/vim/commit/33aecb1f2c85711d53858b71f5f3c2cbe076435f Cherry-pick Test_resize_from_copen() indent change from patch 8.2.1432.
* | vim-patch:8.2.1294: Vim9: error when using vim9script in TextYankPostzeertzjq2022-07-17
| | | | | | | | | | | | | | Problem: Vim9: error when using vim9script in TextYankPost. Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can be used when text is locked. (closes vim/vim#6529) https://github.com/vim/vim/commit/37394ff75270877a032422abcd079a6732a29730
* | vim-patch:8.2.0698: insert mode completion not fully testedzeertzjq2022-07-17
| | | | | | | | | | | | | | | | Problem: Insert mode completion not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6041) https://github.com/vim/vim/commit/f9ab52e155dc13f59b654d754041fe78e17b9074 Cherry-pick test_ins_complete.vim changes from patches 8.2.{0522,0615}.
* | vim-patch:8.2.1040: not enough testing for movement commandszeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | Problem: Not enough testing for movement commands. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6313) https://github.com/vim/vim/commit/bdd2c290d3cda69e0046c42f0c651f60bc510a16 Cherry-pick test_functions.vim changes from patch 8.2.0183. Cherry-pick Test_normal18_z_fold() change from patch 8.2.0540.
* | vim-patch:8.2.0655: search code not sufficiently testedzeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | Problem: Search code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999) https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce Cherry-pick test_charsearch.vim change from patch 8.2.0448. Cherry-pick test_search.vim changes from patch 8.2.0619.
* | fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode (#19400)zeertzjq2022-07-17
| |
* | vim-patch:8.2.2643: various code not covered by testszeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995) https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649 Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}. Reorder test_undo.vim to match upstream.
* | vim-patch:8.2.2608: character input not fully testedzeertzjq2022-07-16
| | | | | | | | | | | | | | | | Problem: Character input not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963) https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c Cherry-pick related changes from patches 8.2.{0433,0866}.
* | vim-patch:8.2.0198: no tests for y/n promptzeertzjq2022-07-16
| | | | | | | | | | | | Problem: No tests for y/n prompt. Solution: Add tests. (Dominique Pelle, closes vim/vim#5564) https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67
* | vim-patch:8.2.0052: more-prompt not properly testedzeertzjq2022-07-16
| | | | | | | | | | | | Problem: More-prompt not properly tested. Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404) https://github.com/vim/vim/commit/c6d539b67181ad573452e919e58ecbfa362f4c49
* | fix(ex_cmds): correct flags for :const (#19387)zeertzjq2022-07-16
| |
* | vim-patch:8.2.0593: finding a user command is not optimal (#19386)zeertzjq2022-07-16
| | | | | | | | | | Problem: Finding a user command is not optimal. Solution: Start further down in the list of commands. https://github.com/vim/vim/commit/a494f56f885876c98a276f7acfa386bfbb344680
* | vim-patch:8.2.1061: insufficient testing for src/window.c (#19384)zeertzjq2022-07-16
| | | | | | | | | | | | | | Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345) https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3 Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
* | fix(api): do not switch win/buf if getting option in current win/buf (#19383)zeertzjq2022-07-16
| |
* | fix(pum): make right drag in anchor grid to select work in multigrid UI (#19382)zeertzjq2022-07-16
| |
* | fix: remote UI may get invalid 'pumblend' value #19379Natasha England-Elbro2022-07-15
| | | | | | fixes: https://github.com/neovim/neovim/issues/19340
* | fix: right-click in clickable statusline #19252Famiu Haque2022-07-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 1. Right-click does not work in statusline unless you left-click first (to focus the statusline). 2. Modifier (e.g. shift+rightclick) does not work in statusline. Solution: Make clickable statusline sections receive right-clicks regardless of whether the statusline is focused. Closes #18994
* | feat(defaults): nnoremap & :&&<CR> #19365Gregory Anders2022-07-15
| |
* | vim-patch:8.2.0542: no test for E386zeertzjq2022-07-15
| | | | | | | | | | | | | | | | Problem: No test for E386. Solution: Add a test. (Dominique Pelle, closes vim/vim#5911) https://github.com/vim/vim/commit/8832a3457831707286dd2d9252ba14a5f9fd4c60 Cherry-pick Test_search_errors() from patch 8.2.0448.
* | vim-patch:8.2.0535: regexp patterns not fully testedzeertzjq2022-07-15
| | | | | | | | | | | | | | | | | | | | Problem: Regexp patterns not fully tested. Solution: Add more regexp tests and others. (Yegappan Lakshmanan, closes vim/vim#5901) https://github.com/vim/vim/commit/4d23c52824dd2f4577eb980e7d91feed34052755 Add missing Test_search_cmdline8(). Cherry-pick Test_invalid_regexp() from patch 8.2.0531.
* | vim-patch:8.2.0403: when 'buftype' is "nofile" there is no overwrite checkzeertzjq2022-07-15
| | | | | | | | | | | | | | | | | | | | Problem: When 'buftype' is "nofile" there is no overwrite check. Solution: Also check for existing file when 'buftype' is set. (closes vim/vim#5807) https://github.com/vim/vim/commit/a3a9c8ef697bbf6f640cde99710b6f534f29f77d Nvim doesn't have buftype=popup and doesn't allow buftype=terminal for non-terminal buffer.
* | vim-patch:8.1.1547: functionality of bt_nofile() is confusingzeertzjq2022-07-15
| | | | | | | | | | | | Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename(). https://github.com/vim/vim/commit/26910de8b0da6abab87bd5a397330f9cbe483309
* | vim-patch:8.2.0426: some errors were not tested forzeertzjq2022-07-15
| | | | | | | | | | | | | | | | Problem: Some errors were not tested for. Solution: Add tests. (Dominique Pelle, closes vim/vim#5824) https://github.com/vim/vim/commit/9b9be007e7d674f49fc2b650f840d08532b180ad Cherry-pick get_highest_fnum() from patch 8.1.1908 to make tests pass.
* | vim-patch:8.0.1118: FEAT_WINDOWS adds a lot of #ifdefszeertzjq2022-07-15
| | | | | | | | | | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS. https://github.com/vim/vim/commit/4033c55eca575777718c0701e26635a0cc47d907
* | vim-patch:8.2.0482: channel and sandbox code not sufficiently testedzeertzjq2022-07-15
| | | | | | | | | | | | | | | | Problem: Channel and sandbox code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855) https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6 Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
* | vim-patch:8.2.0430: window creation failure not properly testedzeertzjq2022-07-15
| | | | | | | | | | | | Problem: Window creation failure not properly tested. Solution: Improve the test. (Yegappan Lakshmanan, closes vim/vim#5826) https://github.com/vim/vim/commit/5080b0a0470511bae6176a704d4591d1caba0d07
* | Merge pull request #19348 from akinsho/bugfix/winbar-winhighlightzeertzjq2022-07-15
|\ \ | | | | | | fix(winbar): make setting WinBar and WinBarNC in 'winhighlight' work
| * | fix(winbar): make setting WinBar and WinBarNC in 'winhighlight' workzeertzjq2022-07-15
| | |
* | | vim-patch:9.0.0052: "zG" may throw an error if invalid character follows ↵zeertzjq2022-07-15
|/ / | | | | | | | | | | | | | | (#19368) Problem: "zG" may throw an error if invalid character follows. Solution: Pass the word length to valid_spell_word(). (Ken Takata, closes vim/vim#10737) https://github.com/vim/vim/commit/2ebcc35826bc2deb04e5fc6d73332f55783e7f52
* | vim-patch:8.2.0926: cmdline test fails on Appveyorzeertzjq2022-07-14
| | | | | | | | | | | | Problem: Cmdline test fails on Appveyor. Solution: Add CR to the commands. (Naruhiko Nishino, closes vim/vim#6220) https://github.com/vim/vim/commit/951a2fb1b87af7e3be81e85a3769a17a13fd5040
* | vim-patch:8.2.0921: CTRL-W T in cmdline window causes troublezeertzjq2022-07-14
| | | | | | | | | | | | | | | | | | | | Problem: CTRL-W T in cmdline window causes trouble. Solution: Disallow CTRL-W T in the cmdline window. Add more tests. (Naruhiko Nishino, closes vim/vim#6219) https://github.com/vim/vim/commit/4fdb8bd0546ac8d90560a4fad359a48667089d43 Test already passes in Nvim because of later patches. Move Test_cmdwin_jump_to_win() to the right place.
* | vim-patch:8.2.0369: various Normal mode commands not fully testedzeertzjq2022-07-14
| | | | | | | | | | | | | | | | | | | | Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751) https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc Cherry-pick a fix from patch 8.2.3162. Omit test_iminsert.vim as previous patches to that file are N/A, and Nvim doesn't support iminsert=2 either, so that test isn't useful.
* | vim-patch:8.2.0347: various code not covered by testszeertzjq2022-07-14
| | | | | | | | | | | | | | | | Problem: Various code not covered by tests. Solution: Add more test coverage. (Yegappan Lakshmanan, closes vim/vim#5720) https://github.com/vim/vim/commit/91ffc8a5f5c7b1c6979b3352a12ed779d11173a9 Test_Ex_echo_backslash() is not applicable to Vim enhanced Ex mode.
* | vim-patch:8.2.0342: some code in ex_getln.c not covered by testszeertzjq2022-07-14
| | | | | | | | | | | | | | | | | | | | Problem: Some code in ex_getln.c not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5717) https://github.com/vim/vim/commit/0546d7df13b041833121b2d56036e1c62ea3b0c1 Nvim doesn't support imsearch=2, commenting out that line is enough. Test_Ex_append() is not applicable to Vim enhanced Ex mode. Omit test_iminsert.vim as previous patches to that file are N/A.
* | build: gracefully handle error in git-version #19289kylo2522022-07-14
| | | | | | | | | | | | | | | | - only update git-version if both of these conditions are met: - `git` command succeeds - `versiondef_git.h` would change (SHA1-diff) - else print a status/warning message also move version generation out of Lua into cmake.
* | feat(eval)!: input() support any type for "cancelreturn" in a dict (#19357)zeertzjq2022-07-14
| |
* | vim-patch:8.2.0969: assert_equal() output for dicts is hard to figure out ↵zeertzjq2022-07-13
| | | | | | | | | | | | | | (#19317) Problem: Assert_equal() output for dicts is hard to figure out. Solution: Only show the different items. https://github.com/vim/vim/commit/4a021dfbeee88ac09d07e257912485314ecdcabe
* | fix(exmode): flush messages before printing a line after pressing Enter (#19341)zeertzjq2022-07-13
| |
* | vim-patch:8.2.0035: saving and restoring called_emsg is clumsy (#19335)zeertzjq2022-07-13
| | | | | | | | | | Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages. https://github.com/vim/vim/commit/53989554a44caca0964376d60297f08ec257c53c