| Commit message (Collapse) | Author | Age |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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>
|
|\ \
| | |
| | | |
libcall: Use "int" for number argument
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
#
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
[RDY] vim-patch:8.1.1564, 1570, 1623, 1712 : sign column takes up space
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
ui: fix problem with sattr_T overflow
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Backup test fails when using shadow directory.
Solution: Remove check for "src".
https://github.com/vim/vim/commit/f8f88f89e12df516c1fac5851b504238ebc1d2d4
|
| | | | |
| | | | |
| | | | |
| | | | | |
Default value on Windows does not match the documented value.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: AIDL filetype not recognized.
Solution: Add filetype detection. (Dominique Pellé, closes vim/vim#6533)
https://github.com/vim/vim/commit/2afc3b4f776a4fe2bb22d0a79e77012d79b4ec1e
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Possibly use of NULL pointer. (Coverity)
Solution: Reset the re_in_use flag earlier.
https://github.com/vim/vim/commit/414998023fbff15cce20ef01a54d0366370ad8b6
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Executing regexp recursively fails with a crash.
Solution: Move global variables into "rex".
https://github.com/vim/vim/commit/0270f38e1ae484c31a80c813a08691c47a207f1a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Crash with EXITFREE when split() fails.
Solution: Restore 'cpoptions'.
https://github.com/vim/vim/commit/7d5e744162c1e971e5a863e89787cadc8e56051c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\| | | |
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Problem: ":marks" may show '< and '> mixed up.
Solution: Show the mark position as where '< and '> would jump.
https://github.com/vim/vim/commit/54c3fcd852f9d986f81547429e850b3364f058d6
|
| | |
| | |
| | |
| | | |
fixes #11548
|
| |/
| |
| |
| |
| | |
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.
|
| |\
| | |
| | |
| | |
| | | |
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)
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Test this using treesitter highlighting, which is based on this
old_byte_size.
|
| |\ \
| | |/
| |/| |
[RFC] vim-patch:8.2.{0935,0937}
|
| | |
| | |
| | |
| | | |
The list parameter is an an [in,out] rather than just an [in].
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Asan failure in the flatten() test.
Solution: Free the flattened list.
https://github.com/vim/vim/commit/dcf59c37d0e1517439c4c0c4a6a5ca09c90157ad
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes vim/vim#3676)
https://github.com/vim/vim/commit/077a1e670ad69ef4cefc22103ca6635bd269e764
|
| |\ \
| | | |
| | | | |
build: Fix build failure with CI in FreeBSD
|
| | |/
| | |
| | |
| | | |
Co-authored-by: James McCoy <jamessan@jamessan.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | | |
| | | | |
Fix shada write error on exit, vim-patch:8.2.0920
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix the problem of failing to write shada when the global variable contains
Funcref or Partial.
|