aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.1.1823: command line history code is spread out (#19688)zeertzjq2022-08-09
| | | | | | | | | | | | Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes vim/vim#4779) Also graduate the +cmdline_hist feature. https://github.com/vim/vim/commit/d7663c22c6c1ff0f86b81371586fbc851d3a3e9e
| * vim-patch:partial: 48c3f4e0bff7 (#19684)Christian Clason2022-08-09
| | | | | | | | | | | | | | | | vim-patch:partial:48c3f4e0bff7 Update runtime files https://github.com/vim/vim/commit/48c3f4e0bff7efd289a7001b68c777b6f89a7057 partially skip `options.txt` (needs 9.0.0138)
| * docs(lua): add Lua 5.1 reference manual (#19663)dundargoc2022-08-08
| | | | | | | | | | | | | | | | based on http://www.vim.org/scripts/script.php?script_id=1291 reformatted to match Nvim documentation style; removed irrelevant sections Co-authored-by: dundargoc <gocundar@gmail.com> Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Lewis Russell <lewis6991@gmail.com>
| * feat(lsp): set formatexpr by default (#19677)Mathias Fußenegger2022-08-08
| | | | | | Follow up to https://github.com/neovim/neovim/pull/19003
| * test: increse expect_exit() timeouts (#19680)zeertzjq2022-08-08
| | | | | | | | A timeout of 100 milliseconds is sometimes still too short for macOS. Change it to 1000 milliseconds.
| * Merge pull request #19674 from zeertzjq/vim-8.2.1535zeertzjq2022-08-08
| |\ | | | | | | vim-patch:8.2.{1535,1537,3545}: setcellwidths()
| | * fix(fillchars): change fallback after setcellwidths()zeertzjq2022-08-08
| | |
| | * vim-patch:8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalidzeertzjq2022-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid. Solution: Check the value and give an error. (closes vim/vim#9024) https://github.com/vim/vim/commit/94358a1e6e640ca5ebeb295efdddd4e92b700673 Cherry-pick f_setcellwidths() change from patch 9.0.0036. Cherry-pick 'ambiwidth' docs update from runtime update 079ba76ae7a7.
| | * refactor(setcellwidths): use TV_LIST_ITEM_NEXT properlyzeertzjq2022-08-08
| | |
| | * vim-patch:8.2.1537: memory acccess error when using setcellwidths()zeertzjq2022-08-08
| | | | | | | | | | | | | | | | | | Problem: Memory acccess error when using setcellwidths(). Solution: Use array and pointers correctly. https://github.com/vim/vim/commit/b06a6d59d12dbd67d55b3c46f6e5547e9103c931
| | * vim-patch:8.2.1535: it is not possible to specify cell widths of characterszeertzjq2022-08-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to specify cell widths of characters. Solution: Add setcellwidths(). https://github.com/vim/vim/commit/08aac3c6192f0103cb87e280270a32b50e653be1 Co-Authored-By: delphinus <me@delphinus.dev>
| | * refactor: move non-symbols in mbyte.h to mbyte_defs.hzeertzjq2022-08-08
| |/ | | | | | | | | This just avoids including mbyte.h in eval/typval.h, so that mbyte.h can include eval/typval.h in Vim patch 8.2.1535.
| * fix(lsp): set end_col in formatexpr (#19676)Mathias Fußenegger2022-08-08
| | | | | | | | The last line was excluded from formatting via formatexpr because the character in the params was set to 0 instead of the end of line.
| * feat(lsp): disable exit_timeout by default (#19672)Mathias Fußenegger2022-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lsp client used to wait up to 500ms for a language server to shutdown before sending a TERM signal. The intention behind the 500ms grace period was to ensure the language server exits to prevent stale processes, but it has the side-effect that it can interrupt language-servers which are too slow to shutdown within 500ms. Language servers tend to write out index files or project files on shutdown, and being interrupted during this process can cause corruption of those files. This changes the default to not wait at all, at the risk of leaving stale processes around if the language server isn't well behaved. An alternative would be to wait indefinitely, but that can cause neovim to take several seconds to exit.
| * fix(folds): fix fold remains when :delete makes buffer empty (#19673)zeertzjq2022-08-08
| |
* | Fix userreg autocommand firing.Josh Rahm2022-08-19
| | | | | | | | | | | | Before the autocommands TextYankPost was not firing with userregs, now it does. This also fixes the multi-byte encoding of the userreg in the v:event dict.
* | Make userreg.lua more concise.Josh Rahm2022-08-18
| |
* | Fix messaging aronud yanking to support multibyte chars.Josh Rahm2022-08-18
| |
* | Add runitme files for userreg.Josh Rahm2022-08-18
| |
* | Set the timestamp for the user registers.Josh Rahm2022-08-18
| |
* | Change a bit about how userreg work.Josh Rahm2022-08-18
| | | | | | | | | | | | | | | | | | | | | | * The userreg function can now return a list. If a list is returned, the yankreg will be set to kMTLineWise, and each element in the list will become a line in the yankreg. * Use tv_get_string to get strings from typevals. * call tv_free on the tv sent to typval_to_yankreg to properly unref the values.
* | Fix messaging for recording into userregs.Josh Rahm2022-08-10
| |
* | Support for userregs when recording macros.Josh Rahm2022-08-10
| | | | | | | | Still need to address the broken messaging for multibyte characters though.
* | Merge branch 'master' of https://github.com/neovim/neovim into rahmJosh Rahm2022-08-07
|\|
| * fix(terminal): skip aucmd_win when checking terminal size (#19668)zeertzjq2022-08-07
| |
| * vim-patch:8.2.4492: no error if an option is given a value with ":let &opt = ↵zeertzjq2022-08-07
| | | | | | | | | | | | | | | | val" (#19670) Problem: No error if an option is given an invalid value with ":let &opt = val". Solution: Give the error. (closes vim/vim#9864) https://github.com/vim/vim/commit/8ccbbeb620dcc73154de29c51100fe815cefe109
| * Merge pull request #19669 from zeertzjq/vim-8.2.1278zeertzjq2022-08-07
| |\ | | | | | | vim-patch:8.2.{1278,1280,1281}: error message improvements
| | * vim-patch:8.2.1281: the "trailing characters" error can be hard to understandzeertzjq2022-08-07
| | | | | | | | | | | | | | | | | | Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message. https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
| | * vim-patch:8.2.1280: Ex command error cannot contain an argumentzeertzjq2022-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197 Remove duplicate test file 062_tab_pages_spec.lua
| | * vim-patch:8.2.1278: Vim9: line break after "->" only allowed in :def functionzeertzjq2022-08-07
| |/ | | | | | | | | | | Problem: Vim9: line break after "->" only allowed in :def function. Solution: Only allow line break after "->". (closes vim/vim#6492) https://github.com/vim/vim/commit/dd1a9af00f6954b176c5875af0a91acde72572c8
| * fix(api): nvim_cmd handle 0 range (#19655)Lewis Russell2022-08-06
| | | | | | Fixes #19608
| * vim-patch:8.2.1873: Vim9: missing white space when using <f-args> (#19657)zeertzjq2022-08-06
| | | | | | | | | | Problem: Vim9: missing white space when using <f-args>. Solution: Add spaces. (Christian J. Robinson) https://github.com/vim/vim/commit/20d89e0ac65686481f97657008deede0b39ef5db
| * vim-patch:8.2.3282: Vim9: error about using -complete without -nargs is ↵zeertzjq2022-08-06
| | | | | | | | | | | | | | confusing (#19656) Problem: Vim9: error about using -complete without -nargs is confusing. Solution: Change the wording. https://github.com/vim/vim/commit/41a3485dd638a09e4c463b1a1da231f4290454f2
| * vim-patch:8.1.1210: support for user commands is spread out (#19653)zeertzjq2022-08-06
| | | | | | | | | | | | | | Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature. https://github.com/vim/vim/commit/ac9fb18020d7e8bf16d02d45fbb02cf47328aaf7
| * vim-patch:8.1.0942: options window still checks for the multi_byte feature ↵zeertzjq2022-08-06
| | | | | | | | | | | | | | (#19652) Problem: Options window still checks for the multi_byte feature. Solution: Remove the unnecessary check. (Dominique Pelle, closes vim/vim#3990) https://github.com/vim/vim/commit/76cbe811dafea0609e87ee4b9d025e2387e20fac
| * fix(api): fix nvim_buf_set_text heap-use-after-free (#19644)zeertzjq2022-08-06
| | | | | | | | The line returned but ml_get_buf() may be freed by another call to ml_get_buf(), so it is necessary to make a copy.
| * fix(lsp): avoid ^M character in hover window on Windows (#19640)Cai.MY2022-08-05
| |
| * test(old): clear builtin menus before running tests (#19647)zeertzjq2022-08-05
| | | | | | Otherwise Test_menu_expand() fails when run alone.
| * vim-patch:9.0.0141: "delmenu" does not remove autocmmands (#19646)Christian Clason2022-08-05
| | | | | | | | | | | | | | Problem: "delmenu" does not remove autocmmands. Running menu test function alone fails. Solution: Delete autocommands Make sure there is at least one menu. (closes vim/vim#10848) https://github.com/vim/vim/commit/206fce307b265f7f6c6290b623a80c1d846dd131
| * docs: improve example in incremental preview section (#19613)Jonas Strittmatter2022-08-05
| | | | | | | | | | | | - Separate preview and callback functions to make the example easier to understand - Use false instead of 0 for boolean arguments in API function calls - Remove explicit nil checks for consistency - Format with stylua
| * test(let_spec): increase expect_exit() timeoutzeertzjq2022-08-05
| | | | | | Test ":unlet self-referencing node in a List graph #6070" feeds many characters into typeahead, so a timeout of only 100 milliseconds sometimes fails. Change that timeout to 1000 milliseconds.
| * Merge pull request #19642 from zeertzjq/vim-8.2.0413zeertzjq2022-08-05
| |\ | | | | | | vim-patch:8.2.{0413,0478},9.0.0009: menu patches
| | * vim-patch:9.0.0009: going past the end of a menu item with only modifierzeertzjq2022-08-05
| | | | | | | | | | | | | | | | | | Problem: Going past the end of a menu item with only modifier. Solution: Check for NUL. https://github.com/vim/vim/commit/083692d598139228e101b8c521aaef7bcf256e9a
| | * vim-patch:8.2.0478: new buffers are not added to the Buffers menuzeertzjq2022-08-05
| | | | | | | | | | | | | | | | | | Problem: New buffers are not added to the Buffers menu. Solution: Turn number into string. (Yee Cheng Chin, closes vim/vim#5864) https://github.com/vim/vim/commit/5908fdf72fa1995735e38c46f254ddde81a87c1f
| | * vim-patch:8.2.0413: buffer menu does not handle special buffers properlyzeertzjq2022-08-05
| |/ | | | | | | | | | | | | | | | | Problem: Buffer menu does not handle special buffers properly. Solution: Keep a dictionary with buffer names to reliably keep track of entries. Also trigger BufFilePre and BufFilePost for command-line and terminal buffers when the name changes. https://github.com/vim/vim/commit/5e94a29ebbde10dd973d58f1adba9a2fc83877d1
| * Merge pull request #19638 from zeertzjq/vim-8.2.0385zeertzjq2022-08-05
| |\ | | | | | | vim-patch:8.2.{0385,0392,3459}: menu_info()
| | * vim-patch:8.2.3459: Vim9: need more tests for empty string argumentszeertzjq2022-08-05
| | | | | | | | | | | | | | | | | | | | | Problem: Vim9: need more tests for empty string arguments. Solution: Add more tests. Also use empty argument with menu_info() to get the top-level menu names. (Yegappan Lakshmanan, closes vim/vim#8925) https://github.com/vim/vim/commit/51491adfa86fd66a857cd7ec50d0b57dbdf3da59
| | * vim-patch:8.2.0392: Coverity warns for using array index out of rangezeertzjq2022-08-05
| | | | | | | | | | | | | | | | | | Problem: Coverity warns for using array index out of range. Solution: Add extra "if" to avoid warning. https://github.com/vim/vim/commit/56cb3378727783da2d246b9c5091784821666cfa
| | * vim-patch:8.2.0385: menu functionality insufficiently testedzeertzjq2022-08-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Menu functionality insufficiently tested. Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes vim/vim#5760) https://github.com/vim/vim/commit/0eabd4dc8ff50658f0ea0e92c7918a42242f6b80 Omit feedkeys() change: even if "L" flag is implemented it will likely use input_enqueue(), which already checks for interrupts. Omit Test_mouse_popup_menu(): already tested in Lua.
| | * fix(menu): make :menu still print header when there are no menuszeertzjq2022-08-05
| |/