aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.0819: a failed assert with a long string is hard to readJan Edmund Lazo2020-07-19
| | | | | | Problem: A failed assert with a long string is hard to read. Solution: Shorten the assert message. https://github.com/vim/vim/commit/865767126e97d9ac65e052a657b29bbc32dcb512
* vim-patch:8.2.0895: :mkspell output does not mention the tree typeJan Edmund Lazo2020-07-19
| | | | | | | Problem: :mkspell output does not mention the tree type. Solution: Back out increasing the limits, it has no effect. Mention the tree being compressed. Only give a message once per second. https://github.com/vim/vim/commit/408c23b0794540ee3c568a1569f21406c5ed3ab8
* vim-patch:8.2.0894: :mkspell can take very long if the word count is highJan Edmund Lazo2020-07-19
| | | | | | | Problem: :mkspell can take very long if the word count is high. Solution: Use long to avoid negative numbers. Increase the limits by 20% if the compression did not have effect. https://github.com/vim/vim/commit/59f88fbf24b21dbae114a79a15695fa2c3a09fca
* vim-patch:8.2.0420: Vim9: cannot interrupt a loop with CTRL-CJan Edmund Lazo2020-07-19
| | | | | | | | | | | Problem: Vim9: cannot interrupt a loop with CTRL-C. Solution: Check for CTRL-C once in a while. Doesn't fully work yet. https://github.com/vim/vim/commit/f1ec378b014efb9897422c40369a6462163a512a Vim9 test, commented out in this patch, is restored in patch 8.2.0421. Vim9 tests were not ported over so skip the temporary change. Vim should stop pushing broken commits on master.
* vim-patch:8.2.1170: cursor off by one with block paste while 'virtualedit' "all"Jan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor off by one with block paste while 'virtualedit' is "all". Solution: Adjust condition. (Hugo Gualandi, closes vim/vim#6430) https://github.com/vim/vim/commit/ef85a9b2d9e992ab594e089af3883e381cfad426 N/A patches for version.c: vim-patch:8.2.1114: terminal test sometimes times out Problem: Terminal test sometimes times out. Solution: Split the test in two parts. https://github.com/vim/vim/commit/1112c0febb509d0cb219f3a2479fd36833507167 vim-patch:8.2.1171: possible crash when out of memory Problem: Possible crash when out of memory. Solution: Check for NULL pointer. (Dominique Pellé, closes vim/vim#6432) https://github.com/vim/vim/commit/58bb61cf5ee008254eb331bc3574eac87d2dcc4a vim-patch:8.2.1172: error messages when doing "make clean" in doc or tee Problem: Error messages when doing "make clean" in the runtime/doc or src/tee directories. Solution: Use "rm -f". https://github.com/vim/vim/commit/08fc48492acc07259d91293df12bf66447819443 vim-patch:8.2.1173: tee doesn't build on some systems Problem: Tee doesn't build on some systems. Solution: Include header files. (Dominique Pelle, closes vim/vim#6431) https://github.com/vim/vim/commit/40043152924827fa8c4064951065ff507c610164 vim-patch:8.2.1177: terminal2 test sometimes hangs in the GUI Problem: Terminal2 test sometimes hangs in the GUI. Solution: Move some tests to other files to further locate the problem. Set the GUI to a fixed screen size. https://github.com/vim/vim/commit/18aa13d13b69c090dbe186cd4939896488c433e3 vim-patch:8.2.1179: Test_termwinscroll() sometimes hangs in the GUI Problem: Test_termwinscroll() sometimes hangs in the GUI. Solution: Skip the test in the GUI. https://github.com/vim/vim/commit/f65927fc8d0102ef2d0fea776381caedf4c51e32 vim-patch:8.2.1180: build failure in small version Problem: Build failure in small version. Solution: Add #ifdef. https://github.com/vim/vim/commit/1e624c912dff19e889c9398b56fe537952c02fef vim-patch:8.2.1181: json code not fully tested Problem: Json code not fully tested. Solution: Add more test coverage. (Dominique Pellé, closes vim/vim#6433) https://github.com/vim/vim/commit/21e5bdd271fa4d0ff4511cf74b160315e1d17cff
* vim-patch:8.2.1169: write NUL past allocated space using corrupted spell fileJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Write NUL past allocated space using corrupted spell file. (Markus Vervier) Solution: Init "c" every time. https://github.com/vim/vim/commit/97d2f34c8763ab3a46c9f43284cc17bad3cf9568 N/A patches for version.c: vim-patch:8.0.1531: cannot use 24 bit colors in MS-Windows console Problem: Cannot use 24 bit colors in MS-Windows console. Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki, fixes vim/vim#1270, fixes vim/vim#2060) https://github.com/vim/vim/commit/cafafb381a04e33f3ce9cd15dd9f94b73226831f vim-patch:8.0.1544: when using 'termguicolors' SpellBad doesn't show Problem: When using 'termguicolors' SpellBad doesn't show. Solution: When the GUI colors are not set fall back to the cterm colors. https://github.com/vim/vim/commit/d4fc577e60d325777d38c00bd78fb9a32c7b1dfa vim-patch:8.0.1589: error for setting 'modifiable' when resetting it Problem: Error for setting 'modifiable' when resetting it. Solution: Check if 'modifiable' was actually set. https://github.com/vim/vim/commit/d7db27bafd1045281c965d9483539748a744de70 vim-patch:8.0.1591: MS-Windows: when reparsing the arguments 'wildignore' matters Problem: MS-Windows: when reparsing the arguments 'wildignore' matters. Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes vim/vim#2702) https://github.com/vim/vim/commit/20586cb4f4d516a60b96cc02a94b810fea8b8cdb vim-patch:8.0.1712: terminal scrollback is not limited Problem: Terminal scrollback is not limited. Solution: Add the 'terminalscroll' option. https://github.com/vim/vim/commit/8c041b6b95f49f7383cf00e2036cf009b326fa8d Neovim has 'scrollback' option, not 'terminalscroll', to limit scrollback in terminal buffers. vim-patch:8.0.1745: build failure on MS-Windows Problem: Build failure on MS-Windows. Solution: Build job arguments for MS-Windows. Fix allocating job twice. https://github.com/vim/vim/commit/2060892028e05b1325dc0759259254180669eb5e vim-patch:8.0.1747: MS-Windows: term_start() does not set job_info() cmd Problem: MS-Windows: term_start() does not set job_info() cmd. Solution: Share the code from job_start() to set jv_argv. https://github.com/vim/vim/commit/ebe74b73677b06db7d483987a863b41cee051cc0
* lsp: Add support for call hierarchies (#12556)cbarrete2020-07-18
| | | | | | | | | | | | | | | | | | * LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Jump to call location Jump to the call site instead of jumping to the definition of the caller/callee. * LSP: add tests for the call hierarchy callbacks * Fix linting error Co-authored-by: Cédric Barreteau <>
* Reuse inccommand preview window (fix #11529) (#12612)Ville Hakulinen2020-07-15
| | | | | | | | | | | | | | | | | | | | | | | * Reuse inccommand preview window Currently, show_sub (inside ex_substitute) creates a new split on each run for its existing buffer, and ex_substitute calls close_windows for it. This functionality seems to relay in delayed operations on window structures where the close event on the newest window is "cancelled" by win_grid_alloc. But for multigrid, there is optimization in place in win_grid_alloc which causes any (unnecessary?) allocations to be skipped, and thus inccommand preview window is not preserved but closed immediately. Alternative fix would be to remove said optimization, but the whole "lets create a new split each time and trash the earlier window" seems too wasteful. Fix #11529 * Update failing test The failing test sets inccommand=split and does `:%s/.`, but isn't expecting to get any contents for the preview window, other than the windows status line. Update the test to include the preview window contents too.
* Merge pull request #12507 from tjdevries/tjdevries/viml_lua_callbacksTJ DeVries2020-07-11
|\ | | | | [RFC] Allow passing lua functions and closures into vim functions.
| * lua: Add ability to pass tables with __callTJ DeVries2020-07-10
| | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1054: not so easy to pass a lua function to Vim vim-patch:8.2.1084: Lua: registering function has useless code I think I have also opened up the possibility for people to use these callbacks elsewhere, since I've added a new struct that we should be able to use. Also, this should allow us to determine what the state of a list is in Lua or a dictionary in Lua, since we now can track the luaref as we go.
| * lua: Add ability to pass lua functions directly to vimLTJ DeVries2020-07-10
|/
* Merge pull request #12590 from nvim-treesitter/ts-fix-highlightTJ DeVries2020-07-10
|\ | | | | [RDY] Treesitter: fix highlight, attempt 2
| * treesitter: add parser on_lines callbacksThomas Vigouroux2020-07-10
| |
| * treesitter: cache the capture hl relationThomas Vigouroux2020-07-10
| |
| * treesitter: update test to show overlapping worksThomas Vigouroux2020-07-10
| |
| * treesitter: use change calbacks on redrawThomas Vigouroux2020-07-10
|/
* treesitter: call bufload before parsing (#12603)Thomas Vigouroux2020-07-10
|
* doc: Add information about lua function calls (#12574)TJ DeVries2020-07-08
|
* doc: mention that defer_fn applies schedule_wrap (#12601)Christian Clason2020-07-07
|
* Merge pull request #12538 from janlazo/vim-8.2.1055Matthieu Coudron2020-07-06
|\ | | | | vim-patch:8.1.{93,1372},8.2.{1055,1060,1089,1095,1104}
| * vim-patch:8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is runningJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: non-MS-Windows: Cannot interrupt gdb when program is running. Solution: Only use debugbreak() on MS-Windows. https://github.com/vim/vim/commit/2ed890f1f810f977ec6a235efd8bf58adddcd0e7
| * vim-patch:8.2.1104: Coverity warnts for possible NULL pointer useJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: Coverity warnts for possible NULL pointer use. Solution: Check "pbyts" is not NULL. https://github.com/vim/vim/commit/11b6600c88165c70d9ccbbdd4d9c96e8266e365f
| * vim-patch:8.2.1089: Coverity warns for pointer computationJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: Coverity warns for pointer computation. Solution: Avoid computing a pointer to invalid memory. https://github.com/vim/vim/commit/927b7dd0fe9a0a82b39d600779edb4390ecdeda6
| * vim-patch:8.2.1095: may use pointer after freeing itJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: May use pointer after freeing it when text properties are used. Solution: Update redo buffer before calling ml_replace(). https://github.com/vim/vim/commit/6b949615edac2dd33d5e865be8328561f296b045
| * vim-patch:8.2.1060: not all elinks files are recognizedJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: Not all elinks files are recognized. Solution: Just check for "elinks.conf". (Guido Cella, closes vim/vim#6337) https://github.com/vim/vim/commit/5f36d5fbb836e6fdeb9e3b2c26edb88e45150db4
| * 'clang/Logic error': use enums to avoid undefined array subscriptJan Edmund Lazo2020-07-04
| |
| * vim-patch:8.1.1372: when evaluating 'statusline' the current window is unknownJan Edmund Lazo2020-07-04
| | | | | | | | | | | | | | | | Problem: When evaluating 'statusline' the current window is unknown. (Daniel Hahler) Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" when evaluationg %!. (closes vim/vim#4406, closes vim/vim#3299) https://github.com/vim/vim/commit/1c6fd1e100fd0457375642ec50d483bcc0f61bb2
| * vim-patch:8.2.1055: no filetype set for pacman config filesJan Edmund Lazo2020-07-04
| | | | | | | | | | | | Problem: No filetype set for pacman config files. Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes vim/vim#6335) https://github.com/vim/vim/commit/73b4465ba7f170c5a1701ad908144970e758b1f5
* | lua: add options to highlight.on_yank (#12549)Christian Clason2020-07-05
| | | | | | | | | | NOTE: Configuration options have changed for highlight.on_yank. Check help for |:help highlight.on_yank()|
* | lsp: add optional vertical padding, maximal size to floats (#12444)Christian Clason2020-07-05
|/ | | | | | | | | | | * add vertical padding to floats * add max_width, max_height option to float methods * lint * lintlint * guard against nil wrap_at
* Merge pull request #12531 from BK1603/autoread-tuiMatthieu Coudron2020-07-04
|\ | | | | Autoread now works in TUI too. The checktimestamp test is run at most once every 2 seconds not to poll too much and also because it doesn't make sense on some filesystems. A solution based on filesystem notifications should arrive soon.
| * removed test fileBK16032020-07-04
| |
| * removed whitespaceBK16032020-07-03
| |
| * removed retryBK16032020-07-03
| |
| * clarified the reason for waitBK16032020-07-02
| |
| * replaced sleep with a changed mtime for the test fileBK16032020-07-02
| |
| * removed unnecessary feed callsBK16032020-07-02
| |
| * Added testBK16032020-07-02
| |
| * Update file on focus gainedBK16032020-07-02
| |
| * Added healt check for tmux focus eventsBK16032020-07-02
| |
* | version.c: update [ci skip] (#12581)Marvim the Paranoid Android2020-07-03
| | | | | | | | | | vim-patch:8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI vim-patch:8.2.1115: iminsert test fails when compiled with VIMDLL vim-patch:8.2.1119: configure fails with Xcode 12 beta
* | doc: fix scripts and regenerate (#12506)TJ DeVries2020-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix some small doc issues * doc: fixup * doc: fixup * Fix lint and rebase * Remove bad advice * Ugh, stupid mpack files... * Don't let people include these for now until they specifically want to * Prevent duplicate tag
* | docs: Describe how to escape keycodes with nvim_feedkeys (#12484)Anmol Sethi2020-07-01
| | | | | | Closes #12297
* | version.c: update [ci skip] (#12524)Marvim the Paranoid Android2020-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.1543: with 'termguicolors' Normal color doesn't work correctly vim-patch:8.1.0089: error when ending the terminal debugger vim-patch:8.1.0557: Termdebug: gdb may use X.Y for breakpoint number vim-patch:8.1.0575: Termdebug: clearing multi-breakpoint does not work vim-patch:8.1.0621: terminal debugger does not handle unexpected debugger exit vim-patch:8.1.1637: after running tests and clean the XfakeHOME directory remains vim-patch:8.1.2105: MS-Windows: system() may crash vim-patch:8.1.2116: no check for out of memory vim-patch:8.1.2149: crash when running out of memory very early vim-patch 8.1.2242: creating docs tags uses user preferences vim-patch:8.2.0599: Netbeans interface insufficiently tested vim-patch:8.2.0673: cannot build Haiku in shadow directory vim-patch:8.2.0676: pattern in list of distributed files does not match vim-patch:8.2.0680: PTYGROUP and PTYMODE are unused vim-patch:8.2.0689: when using getaddrinfo() the error message is unclear vim-patch:8.2.0702: running channel tests may leave running process behind vim-patch:8.2.0709: MS-Windows: compiler warning for int vs size_t vim-patch:8.2.0720: occasional exit when encountering an X error vim-patch:8.2.0727: MS-Windows: new gcc compiler does not support scanf format vim-patch:8.2.0740: minor message mistakes vim-patch:8.2.0741: Python tests fail because of changed message vim-patch:8.2.0744: the name vim is not capatilized in a message vim-patch:8.2.0750: netbeans test is a bit flaky vim-patch:8.2.0756: MS-Windows: still a compiler warning vim-patch:8.2.0762: buffer is not considered modified after setting crypt key vim-patch:8.2.0763: GUI test fails without the terminal feature vim-patch:8.2.0765: In the GUI can't use all the modifiers. vim-patch:8.2.0767: modifyOtherKeys active when using a shell command in autocmd vim-patch:8.2.0770: cannot map CTRL-B when using the GUI vim-patch:8.2.0773: switching to raw mode every time ":" is used vim-patch:8.2.0776: libvterm code lags behind the upstream version vim-patch:8.2.0777: terminal test fails vim-patch:8.2.0778: libvterm code lags behind the upstream version vim-patch:8.2.0779: tmode_T not used everywhere vim-patch:8.2.0780: libvterm code lags behind the upstream version vim-patch:8.2.0783: libvterm code lags behind the upstream version vim-patch:8.2.0784: libvterm code lags behind the upstream version vim-patch:8.2.0785: libvterm code lags behind the upstream version vim-patch:8.2.0786: channel test is flaky on FreeBSD vim-patch:8.2.0787: libvterm code lags behind the upstream version vim-patch:8.2.0788: memory leak in libvterm vim-patch:8.2.0792: build failure with small features vim-patch:8.2.0794: libvterm code lags behind the upstream version vim-patch:8.2.0795: libvterm code lags behind the upstream version vim-patch:8.2.0796: MS-Windows: compiler can't handle C99 construct in libvterm vim-patch:8.2.0797: MS-Windows: compiler still can't handle C99 construct vim-patch:8.2.0798: libvterm code lags behind the upstream version vim-patch:8.2.0799: build fails if snprintf is not available vim-patch:8.2.0800: errors from failing test are unclear vim-patch:8.2.0801: terminal test fails on Mac vim-patch:8.2.0802: libvterm code lags behind the upstream version vim-patch:8.2.0803: libvterm code lags behind the upstream version vim-patch:8.2.0804: libvterm code lags behind the upstream version vim-patch:8.2.0805: terminal key codes test fails on some systems vim-patch:8.2.0808: not enough testing for the terminal window vim-patch:8.2.0811: terminal keycode test is flaky vim-patch:8.2.0813: libvterm code is slightly different from upstream vim-patch:8.2.0816: terminal test fails when compiled with Athena vim-patch:8.2.0828: Travis: regexp patttern doesn't work everywhere vim-patch:8.2.0830: Motif: can't map "!" vim-patch:8.2.0831: compiler warnings for integer sizes vim-patch:8.2.0833: mapping doesn't work in the GUI vim-patch:8.2.0835: Motif: mapping still doesn't work vim-patch:8.2.0837: compiler warning for value set but not used vim-patch:8.2.0842: MS-Windows: channel tests fail vim-patch:8.2.0846: build failure with small features vim-patch:8.2.0849: BeOS code is not maintained and probably unused vim-patch:8.2.0852: cannot map CTRL-S on some systems vim-patch:8.2.0854: xxd cannot show offset as a decimal number vim-patch:8.2.0857: GTK cell height can be a pixel too much vim-patch:8.2.0870: MS-Windows: Control keys don't work in the GUI vim-patch:8.2.0872: XIM code is mixed with multi-byte code vim-patch:8.2.0885: "make shadow" does not link new lua test dir vim-patch:8.2.0889: using old style comments vim-patch:8.2.0903: comparing WINVER does not work correctly vim-patch:8.2.0910: Vim is not reproducibly buildable vim-patch:8.2.0914: MS-Windows: cannot specify a "modified by" text vim-patch:8.2.0931: some remarks about BeOS remain vim-patch:8.2.0939: checking for term escape sequences is long and confusing vim-patch:8.2.0940: build failure with tiny features vim-patch:8.2.0941: detecting terminal properties is unstructured vim-patch:8.2.0944: xxd test leaves file behind vim-patch:8.2.0962: terminal test sometimes hangs on Travis vim-patch:8.2.0971: build with tiny features fails vim-patch:8.2.0978: leaking memory in termcodes test vim-patch:8.2.0979: a couple of screendump tests fail vim-patch:8.2.0989: crash after resizing a terminal window vim-patch:8.2.1010: build failure in libvterm with debug enabled vim-patch:8.2.1013: channel tests can be a bit flaky vim-patch:8.2.1017: Appveyor output doesn't show MinGW console features vim-patch:8.2.1027: GUI: multi-byte characters do not work in a terminal vim-patch:8.2.1030: reducing size of a terminal window may cause a crash vim-patch:8.2.1031: build failure with Perl5.32 vim-patch:8.2.1057: cannot build with dynamic Lua vim-patch:8.2.1072: missing libvterm test vim-patch:8.2.1093: Python: double free when adding item to dict fails vim-patch:8.2.1094: dead code in libvterm
* | lsp: Use nvim_buf_get_lines in locations_to_items and add more tests (#12357)Mathias Fußenegger2020-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * LSP: Add tests & use nvim_buf_get_lines in locations_to_items This is to add support for cases where the server returns a URI in the locations that does not have a file scheme but needs to be loaded via a BufReadCmd event. * LSP: Don't iterate through all lines in locations_to_items * fixup! LSP: Don't iterate through all lines in locations_to_items * fixup! fixup! LSP: Don't iterate through all lines in locations_to_items * fixup! fixup! fixup! LSP: Don't iterate through all lines in locations_to_items
* | Merge pull request #12491 from vigoux/treesitter-set-rangesMatthieu Coudron2020-06-30
|\ \ | | | | | | [RDY] Treesitter set ranges
| * | treesitter: use single nodes in set_rangesThomas Vigouroux2020-06-29
| | | | | | | | | | | | fixup! treesitter: fix lint
| * | treesitter: separate tests into smaller piecesThomas Vigouroux2020-06-29
| | |
| * | treesitter: fix lintThomas Vigouroux2020-06-29
| | |
| * | treesitter: use nodes to mark rangesThomas Vigouroux2020-06-29
| | |