aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #12700 from jamessan/fileinfo-garbageJames McCoy2020-08-02
|\
| * Merge remote-tracking branch 'upstream/master' into fileinfo-garbageJames McCoy2020-07-31
| |\ | |/ |/|
* | Merge pull request #12699 from jamessan/getnJames McCoy2020-07-31
|\ \
| * | lua: Use #var instead of deprecated table.getn(var)James McCoy2020-07-31
| | |
| * | luacheck: Enforce compatibility with Lua5.1James McCoy2020-07-31
| | | | | | | | | | | | | | | However, allow reading "jit" since we want to support running differently under LuaJIT.
* | | shada: fix failed assertion on exit (#12692)erw72020-07-31
|/ / | | | | | | | | | | If set the number of history saves is 0, assertions fail when inserting an entry on exit. Dont insert an entry when the number of saves is 0 fixes the issue. fixes #11497
* | Revert "lsp: Fix text edits with the same start position (#12434)" (#12564)Andreas Johansson2020-07-30
| | | | | | This reverts commit 44fe8828f06a22bc9aa3617a6fd8aae447a838de.
* | Merge pull request #12685 from BigPeet/vim-patch-8.2.1252James McCoy2020-07-29
|\ \ | | | | | | vim-patch:8.2.1252
| * | vim-patch:8.2.1252: ":marks" may show '< and '> mixed upPeter Wolf2020-07-28
|/ / | | | | | | | | | | Problem: ":marks" may show '< and '> mixed up. Solution: Show the mark position as where '< and '> would jump. https://github.com/vim/vim/commit/54c3fcd852f9d986f81547429e850b3364f058d6
* | Merge pull request #12687 from erw7/fix-terminal-overflowerw72020-07-29
|\ \ | | | | | | terminal: fix terminal attribute overflow
| * | terminal: fix terminal attribute overflowerw72020-07-29
|/ / | | | | | | fixes #11548
* | Merge pull request #12673 from erw7/fix-tv-dict-add-strerw72020-07-26
|\ \ | | | | | | typval: fix incompatibility with vim
| * | typval: fix incompatibility with vimerw72020-07-23
| | | | | | | | | | | | | | | The dict_add_string of vim accepts NULL as the value to add. But tv_dict_add_str didn't accept it. Change it to accept NULL as well as vim.
* | | script: simplify python version check (#12672)jnozsc2020-07-24
| | |
* | | build: remove duplicate empty CONFIGURE_COMMAND (#12676)Christian Clason2020-07-24
| | | | | | | | | The cmake file for libvterm had an empty CONFIGURE_COMMAND "", which tells cmake to skip the configure step for this dependency (even though a later patch added another, actual, CONFIGURE_COMMAND two lines below). Evidently the recently released cmake 3.18.0 is pickier about this than previous versions, causing the build to fail. Removing this line makes the build successful again.
* | | ci: fix build failure in Travis [skip appveyor] (#12678)erw72020-07-24
|/ /
* | Merge pull request #12646 from vigoux/ts-fix-tildeMatthieu Coudron2020-07-21
|\ \ | | | | | | | | | | | | buffer_updates: set `deleted_bytes` correctly when hitting `~` When doing bytebased update, we need to revisit this to let outer calls of ml_get_line handle the deleted part (will be more precise)
| * | buffer_updates: prefer using ml_add_deleted_len_bufThomas Vigouroux2020-07-21
| | |
| * | buffer_updates: emit valid old_byte_sizeThomas Vigouroux2020-07-21
| | | | | | | | | | | | | | | Test this using treesitter highlighting, which is based on this old_byte_size.
* | | Merge pull request #12654 from cbarrete/nomodifiable-hoverMatthieu Coudron2020-07-21
|\ \ \ | | | | | | | | LSP: make the hover window nomodifiable
| * | | Make the window `nomodifiable` when it's createdCédric Barreteau2020-07-20
| | | |
| * | | LSP: make the hover window nomodifiableCédric Barreteau2020-07-20
| |/ /
* | | man.vim: Simplify man#init to reduce load time (#12482)Anmol Sethi2020-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I removed the SunOS stuff since no one uses SunOS and I've never tested it on there. I removed the section_flag init as we can just use -S instead of -s and -S is used by every implementation as far as I know. This brings man#init's time from 50-70ms to 15-20ms for me. Closes #12318 Related #6766 Related #6815
* | | Merge pull request #12575 from cbarrete/vim-8.2.0935Matthieu Coudron2020-07-20
|\ \ \ | |/ / |/| | [RFC] vim-patch:8.2.{0935,0937}
| * | Fix documentationCédric Barreteau2020-07-20
| | | | | | | | | | | | The list parameter is an an [in,out] rather than just an [in].
| * | Prevent `flatten` from taking a null listCédric Barreteau2020-07-15
| | |
| * | vim-patch:8.2.0937: asan failure in the flatten() testCédric Barreteau2020-07-15
| | | | | | | | | | | | | | | | | | Problem: Asan failure in the flatten() test. Solution: Free the flattened list. https://github.com/vim/vim/commit/dcf59c37d0e1517439c4c0c4a6a5ca09c90157ad
| * | vim-patch:8.2.0935: flattening a list with existing code is slowCédric Barreteau2020-07-15
| | | | | | | | | | | | | | | | | | Problem: Flattening a list with existing code is slow. Solution: Add flatten(). (Mopp, closes vim/vim#3676) https://github.com/vim/vim/commit/077a1e670ad69ef4cefc22103ca6635bd269e764
* | | Merge pull request #12653 from erw7/fix-build-freebsd-ciJames McCoy2020-07-20
|\ \ \ | | | | | | | | build: Fix build failure with CI in FreeBSD
| * | | build: Fix build failure with CI in FreeBSDerw72020-07-20
| |/ / | | | | | | | | | Co-authored-by: James McCoy <jamessan@jamessan.com>
* | | eval: improve ex_execute (#12445)erw72020-07-20
| | |
* | | lua: Fix crash on unprotected lua errors (#12658)TJ DeVries2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be reproduced with a script like this: -- in some lua file vim.fn.timer_start(10, function() error("uh....") end) -- will cause neovim to crash with the following error. PANIC: unprotected error in call to Lua API (nlua_CFunction_func_call failed.) After this, it will instead print the error message from the top of the stack, like so. tmp/error_nvim.lua:10: uh... Also added an example test. Previously this test caused the embedded nvim to panic.
* | | doc: Add documentation for some `vim.lsp.buf` functions (#12552)cbarrete2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add documentation for some `vim.lsp.buf` functions * Add inline Lua documentation * Use generated documentation for LSP buffer functions Co-authored-by: Cédric Barreteau <>
* | | Fix / improve report messages (#12396)David Lukes2020-07-19
| | |
* | | Merge pull request #12480 from nhooyr/mansect-trimMatthieu Coudron2020-07-19
|\ \ \ | | | | | | | | man.vim: Refactor verify_exists to unset $MANSECT as needed
| * | | man.vim: Remove unnecessary codeAnmol Sethi2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure why this was added in https://github.com/neovim/neovim/commit/94f4469638590ca5cc724ab6459f2cfc78c621a4 It doesn't seem to do anything and I can't reproduce the linked issue with this patch so I think it's all working now. cc @justinmk
| * | | man.vim: Fix tagfunc to respect b:man_default_sectsAnmol Sethi2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, kudos to @zsugabubus for fixing a related issue in #12417 This also prevents any sorting of the paths from man. We need to respect the order we get from it otherwise you end up loading /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man/man1/ls.1 on MacOS instead of /usr/share/man/man1/ls.1
| * | | man.vim: Refactor verify_exists to unset $MANSECT as neededAnmol Sethi2020-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also cleaned it up a little and made it faster. Closes #9159 and #9271 Also changes man#extract_sect_and_name_ref to only return a single section at a time. This fixes a bug in its usage in man#goto_tag where get_paths would be called with multiple sections and it does not support that. I noticed that our tagfunc doesn't obey b:man_default_sects and I'll fix that next.
* | | | Merge pull request #12448 from erw7/fix-shada-write-error-on-exitMatthieu Coudron2020-07-19
|\ \ \ \ | | | | | | | | | | Fix shada write error on exit, vim-patch:8.2.0920
| * | | | vim-patch:8.2.0920: writing viminfo fails with a circular referenceerw72020-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Writing viminfo fails with a circular reference. Solution: Use copyID to detect the cycle. (closes vim/vim#6217) https://github.com/vim/vim/commit/5b157fe2edfdce5f77080aeac2b4a03f39eb1c1a
| * | | | shada: fix write E5004 error on exiterw72020-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | Fix the problem of failing to write shada when the global variable contains Funcref or Partial.
* | | | | tui.c: augment_terminfo: remove unused colorterm argument (#12602)Daniel Hahler2020-07-19
| | | | | | | | | | | | | | | It is unused since 8898793ad.
* | | | | build: fix a problem with the static library name (#12591)erw72020-07-19
| | | | | | | | | | | | | | | | | | | | Fix the problem that the static library name was liblibnvim.a in the environment other than Windows due to the change of bf58c00.
* | | | | Merge pull request #12611 from janlazo/vim-8.0.1531Matthieu Coudron2020-07-19
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.0.{1531,1544,1589,1591,1712,1745,1747},8.1.{819},8.2.{420,539,893,894,895,899,1114,1118,1169,1170,1171,1172,1173,1177,1179,1180,1181,1187,1188,1196,1198,1211,1214,1215,1222}
| * | | | | vim-patch:8.2.1222: using valgrind in Vim command started by test doesn't workJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using valgrind a Vim command started by a test uses the same log file name which gets overwritten. Solution: Fix regexp to rename the log file. https://github.com/vim/vim/commit/657a826c07b4ea3f8846b6acb2c50b82c2d81e50
| * | | | | vim-patch:8.2.1211: removed more than dead codeJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Removed more than dead code. Solution: Put back the decrement. https://github.com/vim/vim/commit/8455c5ed31c9cb2919f5e62693bab6b09bf60df2 N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. https://github.com/vim/vim/commit/810af5ea460eab820cc5899892067d8c242be688 vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) https://github.com/vim/vim/commit/ceb56ddbafbca01e52ff4291d9480bf83d739793 vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. https://github.com/vim/vim/commit/e3f915d12c8fe0466918a29ab4eaef153f71a2cd
| * | | | | vim-patch:8.2.0539: comparing two NULL list failsJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Comparing two NULL list fails. Solution: Change the order of comparing two lists. https://github.com/vim/vim/commit/7b293c730b07d1586688e622b8d9cbbb4a52379b N/A patches for version.c: vim-patch:8.2.1187: terminal2 test sometimes hangs in the GUI on Travis Problem: Terminal2 test sometimes hangs in the GUI on Travis. Solution: Disable Test_zz2_terminal_guioptions_bang() for now. https://github.com/vim/vim/commit/c85156bb897085d7f5a8e4e180287f87bf19b948 vim-patch:8.2.1188: memory leak with invalid json input Problem: Memory leak with invalid json input. Solution: Free all keys at the end. (Dominique Pellé, closes vim/vim#6443, closes vim/vim#6442) https://github.com/vim/vim/commit/6d3a7213f58da834b0fc869d05f87e86010c66cf vim-patch:8.2.1196: build failure with normal features Problem: Build failure with normal features. Solution: Add #ifdef. https://github.com/vim/vim/commit/83e7450053399942e1c9efa802c568b51d948541 vim-patch:8.2.1198: terminal2 test sometimes hangs in the GUI on Travis Problem: Terminal2 test sometimes hangs in the GUI on Travis. Solution: Move test function to terminal3 to see if the problem moves too. https://github.com/vim/vim/commit/a4b442614c5ca4ebf32acf5cf0b7b718496f1c94
| * | | | | vim-patch:8.2.0899: assert_equalfile() does not give a hint about the differenceJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Assert_equalfile() does not give a hint about the difference. Solution: Display the last seen text. https://github.com/vim/vim/commit/30cc44a97f0ba1349e1a522dab22b11f47888183
| * | | | | vim-patch:8.2.0893: assert_equalfile() does not take a third argumentJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Assert_equalfile() does not take a third argument. Solution: Implement the third argument. (Gary Johnson) https://github.com/vim/vim/commit/fb517bac2384798bb5142ed1f75f965f93984c0a
| * | | | | 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