aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | startup: fix stall issue with -D options (#12652)erw72020-07-19
| |/ / | | | | | | fixes #12647.
| * | 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.
| * | 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
| | |
| * | treesitter: call bufload before parsing (#12603)Thomas Vigouroux2020-07-10
| | |
| * | 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.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()|
| * | 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 whitespaceBK16032020-07-03
| | | |
| | * | clarified the reason for waitBK16032020-07-02
| | | |
| | * | Update file on focus gainedBK16032020-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
| * | | 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: fix lintThomas Vigouroux2020-06-29
| | | |
| | * | treesitter: use nodes to mark rangesThomas Vigouroux2020-06-29
| | | |
| | * | treesitter: fix some clint errorsThomas Vigouroux2020-06-29
| | | | | | | | | | | | | | | | Also fixes some mismatches on the name of the function
| | * | treesitter: test newly added set_included_rangesThomas Vigouroux2020-06-29
| | | |
| | * | treesitter: add set_included_ranges to the parserThomas Vigouroux2020-06-29
| | | | | | | | | | | | | | | | This is the first step towards language injection using treesitter.
| | * | treesitter: simplify puhstree call processThomas Vigouroux2020-06-23
| | | |
| * | | Merge pull request #12133 from bradking/syntax-foldJames McCoy2020-06-24
| |\ \ \
| | * | | vim-patch:8.2.0865 syntax: Add command to control how foldlevel is computedBrad King2020-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax foldlevel is taken from the start of the line. Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in the line. https://github.com/vim/vim/commit/e35a52aee718c881bdfa69a47a1068df6ab6c60a With `foldmethod=syntax` the foldlevel of a line is computed based on syntax items on the line. Previously we always used the level of the syntax item containing the start of the line. This works well in cases such as: if (...) { ... } else if (...) { ... } else { ... } which folds like this: +--- 3 lines: if (...) {--------------------------- +--- 3 lines: else if (...) {---------------------- +--- 3 lines: else {------------------------------- However, the code: if (...) { ... } else if (...) { ... } else { ... } folds like this: +--- 7 lines: if (...) {--------------------------- We can make the latter case fold like this: +--- 2 lines: if (...) {--------------------------- +--- 2 lines: } else if (...) {-------------------- +--- 3 lines: } else {----------------------------- by choosing on each line the lowest fold level that is followed by a higher fold level. Add a syntax command :syntax foldlevel [start | minimum] to choose between these two methods of computing the foldlevel of a line.
| | * | | syntax: Factor out duplicate E390 stringsBrad King2020-06-23
| | | | |
| | * | | syntax: factor out helper to compute the syntax-based foldlevelBrad King2020-06-23
| | |/ /
| * | | vim-patch:8.2.1044: not all systemd file types are recognized (#12527)Jan Edmund Lazo2020-06-24
| | | | | | | | | | | | | | | | | | | | Problem: Not all systemd file types are recognized. Solution: Match several more files. (Guido Cella, closes vim/vim#6319) https://github.com/vim/vim/commit/ef6d86c173becdf82b7a9a1329342c9368340def
| * | | vim-patch:8.2.1041: test summary is missing executed count (#12519)Jan Edmund Lazo2020-06-23
| |/ / | | | | | | | | | | | | Problem: Test summary is missing executed count. Solution: Adjust pattern used for counting. https://github.com/vim/vim/commit/7eaafe65eef88493c789b160914c8e2e8e42d4a7
| * | terminal: preserve mode when using <Cmd>wincmd in terminal mode (#12254)Ghjuvan Lacambre2020-06-22
| | |
| * | main.c: fix hang issue with recoverymode (#12496)erw72020-06-22
| | | | | | | | | | | | | | | In the case of recoverymode, the headlessmode was true, causing the UI to hang without starting. Fix this problem by setting headlessmode to true for List swap files only.
| * | Merge pull request #12455 from janlazo/vim-8.0.1554Matthieu Coudron2020-06-22
| |\ \ | | | | | | | | [RDY]vim-patch:8.0.1554,8.1.1977,8.2.{927,930,932,938,954,963,964,966,980,983,998,999}
| | * | vim-patch:8.2.0999: moving to next sentence gets stuck on quoteJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Moving to next sentence gets stuck on quote. Solution: When moving to the next sentence doesn't result in moving, advance a character and try again. (closes vim/vim#6291) https://github.com/vim/vim/commit/2f03e5a0a9cfaabb01c57dd3348a05e86c26623c
| | * | vim-patch:8.2.0998: not all tag code is testedJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all tag code is tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#6284) https://github.com/vim/vim/commit/3d9207ad2fc98b4f92f77b5a3d52a3a4d25b9561
| | * | vim-patch:8.2.0983: SConstruct file type not recognizedJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: SConstruct file type not recognized. Solution: Use python for SConstruct files. (Roland Hieber) https://github.com/vim/vim/commit/ad72350360d1a68d251da62a6e8610950926278c
| | * | vim-patch:8.2.0980: raku file extension not recognizedJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Raku file extension not recognized. (Steven Penny) Solution: Recognize .raku and .rakumod. (closes vim/vim#6255) https://github.com/vim/vim/commit/a65d8b5bb9e9267c6e4500c67d26c839a64f30eb
| | * | vim-patch:8.2.0964: TextYankPost does not provide info about Visual selectionJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: TextYankPost does not provide info about Visual selection. Solution: Add the 'visual' key in v:event. (closes vim/vim#6249) https://github.com/vim/vim/commit/37d1673ce007c46ec2338f3236ae1b7b0324bd25
| | * | vim-patch:8.2.0963: number increment/decrement does not work with 'virtualedit'Jan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Number increment/decrement does not work with 'virtualedit'. Solution: Handle coladd changing. (Christian Brabandt, closes vim/vim#6240, closes vim/vim#923) https://github.com/vim/vim/commit/6c6be9e88d72a60ee279ccad73d018c534b71d66
| | * | vim-patch:8.2.0966: 'shortmess' flag "n" not used in two placesJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes vim/vim#6245, closes vim/vim#6244) https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1
| | * | vim-patch:8.2.0954: not all desktop files are recognizedJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not all desktop files are recognized. Solution: Add the *.directory pattern. (Eisuke Kawashima, closes vim/vim#3317) https://github.com/vim/vim/commit/f1f0ff9557353c9a452aac8540411a88cf2da47c
| | * | vim-patch:8.2.0938: NFA regexp uses tolower ()to compare ignore-caseJan Edmund Lazo2020-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs) Solution: Use utf_fold() when possible. (ref. neovim vim/vim#12456) https://github.com/vim/vim/commit/59de417b904bbd204e313f015839317b577bd124
| | * | option: fix pvs/v547Jan Edmund Lazo2020-06-18
| | | |