aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | lua: add vim.register_keystroke_callback (#12536)TJ DeVries2020-08-14
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: Add vim.register_keystroke_callback * fixup: Forgot to remove mention of old option * fixup: Answer jamessan comments * fixup: Answer norcalli comments * fixup: portability * Update runtime/doc/lua.txt Co-authored-by: Ashkan Kiani <ashkan.k.kiani@gmail.com>
* | Merge pull request #12731 from jamessan/libcallnrJames McCoy2020-08-10
|\ \ | | | | | | libcall: Use "int" for number argument
| * \ Merge remote-tracking branch 'upstream/master' into libcallnrJames McCoy2020-08-08
| |\ \
| * | | libcall: Use "int" for number argumentJames McCoy2020-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libcall family of functions need to use "int" for both input and output. The output side was fixed in 9c42232 but I forgot about the input side. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch libcallnr # Your branch is up to date with 'upstream/master'. # # Changes to be committed: # modified: src/nvim/eval/funcs.c # modified: src/nvim/os/dl.c #
* | | | fix: runtimepath always updates lua package.pathTJ DeVries2020-08-10
| | | |
* | | | Merge pull request #12621 from Shougo/vim-8.1.1564Matthieu Coudron2020-08-09
|\ \ \ \ | |_|/ / |/| | | [RDY] vim-patch:8.1.1564, 1570, 1623, 1712 : sign column takes up space
| * | | vim-patch:8.1.1570: icon signs not displayed properly in the number columnShougo Matsushita2020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Icon signs not displayed properly in the number column. Solution: Display them properly. (Yegappan Lakshmanan, closes vim/vim#4559) https://github.com/vim/vim/commit/4dff4aed09d2b0d570ca0d19de9cb08bdf03e695
| * | | vim-patch:8.1.1564: sign column takes up spaceShougo Matsushita2020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sign column takes up space. (Adam Stankiewicz) Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, closes vim/vim#4555, closes vim/vim#4515) https://github.com/vim/vim/commit/394c5d8870b15150fc91a4c058dc571fd5eaa97e
| * | | vim-patch:8.1.1712: signs in number column cause text to be misalignederw72020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Signs in number column cause text to be misaligned. Solution: Improve alignment. (Yasuhiro Matsumoto, closes vim/vim#4694) https://github.com/vim/vim/commit/d6bcff457799e491c3d27880858ec08e758e1849
| * | | vim-patch:8.1.1623: display wrong with signs in narrow number columnerw72020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Display wrong with signs in narrow number column. Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, closes vim/vim#4606) https://github.com/vim/vim/commit/e4b407f536ba8bd007152649a347a95320d80fce
| * | | vim-patch:8.1.1564: sign column takes up spaceShougo Matsushita2020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sign column takes up space. (Adam Stankiewicz) Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, closes vim/vim#4555, closes vim/vim#4515) https://github.com/vim/vim/commit/394c5d8870b15150fc91a4c058dc571fd5eaa97e
* | | | Merge pull request #12701 from erw7/fix-sattr-t-overflowerw72020-08-03
|\ \ \ \ | | | | | | | | | | ui: fix problem with sattr_T overflow
| * | | | ui: fix problem with sattr_T overflowerw72020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sattr_T was defined as uint16_t. But this is not enough to handle the 24-bit colors of the terminal. To solve this problem, change it to int. In 32bit, int may overflow. So, if it overflows, change it to ignore it without adding more attr_entries. fixes #12366
* | | | | vim-patch:8.1.0264: backup tests fail when CWD is in /tmpJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Backup tests fail when CWD is in /tmp. Solution: Make 'backupskip' empty. (Christian Brabandt, closes vim/vim#3301) https://github.com/vim/vim/commit/efe03738f69b1f63ea30226765db949539ee15f0
* | | | | vim-patch:8.1.0255: backup test fails when using shadow directoryJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Backup test fails when using shadow directory. Solution: Remove check for "src". https://github.com/vim/vim/commit/f8f88f89e12df516c1fac5851b504238ebc1d2d4
* | | | | options: fix 'isident' for WindowsJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | Default value on Windows does not match the documented value.
* | | | | vim-patch:8.1.0862: no verbose version of character classesJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No verbose version of character classes. Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, closes vim/vim#1373) https://github.com/vim/vim/commit/221cd9f4dd866503777b2fffa721c1403716ad63
* | | | | vim-patch:8.2.1295: tests 44 and 99 are old styleJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests 44 and 99 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#6536) https://github.com/vim/vim/commit/7d40b8a532fa2ce768f200ab118870d17875a7fe
* | | | | vim-patch:8.2.1292: AIDL filetype not recognizedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: AIDL filetype not recognized. Solution: Add filetype detection. (Dominique Pellé, closes vim/vim#6533) https://github.com/vim/vim/commit/2afc3b4f776a4fe2bb22d0a79e77012d79b4ec1e
* | | | | vim-patch:8.1.2340: quickfix test fails under valgrind and asanJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix test fails under valgrind and asan. Solution: Make sure long line does not overflow IObuff. (Dominique Pelle, closes vim/vim#5263) Put back fix for large terminals. (Yegappan Lakshmanan, closes vim/vim#5264) https://github.com/vim/vim/commit/a106e6cde682bda4ad10ed745acb51975fcb02e0
* | | | | vim-patch:8.1.1202: always get regexp debugging logs when building with -DDEBUGJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Always get regexp debugging logs when building with -DDEBUG. Solution: By default do not create regexp debugging logs. (Ken Takata) https://github.com/vim/vim/commit/c2d09c9f2ce487a6971af9306e382d7b38805456
* | | | | vim-patch:8.1.0194: possibly use of NULL pointerJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Possibly use of NULL pointer. (Coverity) Solution: Reset the re_in_use flag earlier. https://github.com/vim/vim/commit/414998023fbff15cce20ef01a54d0366370ad8b6
* | | | | vim-patch:8.1.0192: executing regexp recursively fails with a crashJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Executing regexp recursively fails with a crash. Solution: Move global variables into "rex". https://github.com/vim/vim/commit/0270f38e1ae484c31a80c813a08691c47a207f1a
* | | | | vim-patch:8.2.1267: MS-Windows: tests may fail due to $PROMPT valueJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: tests may fail due to $PROMPT value. Solution: Set $PROMPT for testing. (Taro Muraoka, closes vim/vim#6510) https://github.com/vim/vim/commit/2690b5aed8b6b6070430b05dcae296cd9479c942
* | | | | vim-patch:8.2.1265: crash with EXITFREE when split() failsJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash with EXITFREE when split() fails. Solution: Restore 'cpoptions'. https://github.com/vim/vim/commit/7d5e744162c1e971e5a863e89787cadc8e56051c
* | | | | vim-patch:8.2.1259: empty group in 'tabline' may cause using an invalid pointerJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Empty group in 'tabline' may cause using an invalid pointer. Solution: Set the group start position. (closes vim/vim#6505) https://github.com/vim/vim/commit/f56c95fdad5af521887f8cd7bc15729b5355231d
* | | | | vim-patch:8.2.1004: line numbers below filler lines not always updatedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Line numbers below filler lines not always updated. Solution: Don't break out of the win_line() loop too early. (Christian Brabandt, closes vim/vim#6294, closes vim/vim#6138) https://github.com/vim/vim/commit/511feec6f0a9e954f1d7353425fa51232b1a8e88
* | | | | vim-patch:8.1.2172: spell highlight is wrong at start of the lineJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes vim/vim#5078) https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d Skip spell tests in OpenBSD. Nvim or screen likely crashed. Revist once issue #12104 is fixed. Skip the test for the following reasons: - unknown regression caused by https://github.com/neovim/neovim/issues/12104 - cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74
* | | | | vim-patch:8.0.1774: reading very long lines can be slowJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Reading very long lines can be slow. Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a check for going over the column limit. https://github.com/vim/vim/commit/13d3b05ed2cf9a54b18b4e8236f0af2c5386200c
* | | | | vim-patch:8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wronglyJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. Solution: Override the 'iskeyword' value. (Taro Muraoka, closes vim/vim#6502) https://github.com/vim/vim/commit/470adb827f3d9e6cf62f685738d2db216daf3738
* | | | | Merge remote-tracking branch 'upstream/master' into fileinfo-garbageJames McCoy2020-07-31
|\| | | | | |_|/ / |/| | |
| * | | 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
| * | | 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
| * | terminal: fix terminal attribute overflowerw72020-07-29
| | | | | | | | | | | | fixes #11548
| * | 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.
| * 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 #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.
| * | 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.