| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \
| | | | |
| | | | | |
feat(highlight): add strikethrough, nocombine to `nvim_set_hl`
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Search test fails.
Solution: Remove failure tests for calls that no longer fail.
https://github.com/vim/vim/commit/48af321a3382008dc642362d3f54bb6a61ff36e4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Duplicate code for evaluating expression argument.
Solution: Merge the code and make the use more flexible.
https://github.com/vim/vim/commit/a9c010494767e43a51c443cac35ebc80d0831d0b
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes vim/vim#861)
https://github.com/vim/vim/commit/adc17a5f9d207fd1623fd923457a46efc9214777
Enable skip arg usage in autoload/freebasic.vim
evalarg_T doesn't really matter because it's deleted in v8.2.0918 (and
reincarnated for Vim9 script in v8.2.1047), but I found out too late :P Anyway:
- Port evalarg_T into eval.h and use const char * and Callback fields
- Use EVALARG_INIT to initialize
- Return bool over OK/FAIL from evalarg functions
- Remove check from evalarg_clean as callback_free ignores None callbacks anyway
- Move eva_buf field into evalarg_get as a local (not sure what reason it has
being in the struct)
N/A patches for version.c:
vim-patch:8.2.4355: unnecessary call to check_colorcolumn()
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes vim/vim#9748)
https://github.com/vim/vim/commit/0f7ff851cb721bb3c07261adbf82b591229f530d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When editing a buffer 'colorcolumn' may not work.
Solution: Set the buffer before copying option values. Call
check_colorcolumn() after copying window options.
https://github.com/vim/vim/commit/010ee9657acf1a9f799079d718998c94e50ccadc
|
| | | |
|
|\ \ \
| |_|/
|/| | |
fix: close floating windows when calling win_close()
|
| | | |
|
|\ \ \
| |/ /
|/| | |
fix(api): use changedir_func() in nvim_set_current_dir()
|
| | |
| | |
| | |
| | | |
Co-Authored-By: smolck <46855713+smolck@users.noreply.github.com>
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.2221,8.2.4336: filtering for :disp and :scriptnames
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
Solution: Call message_filtered(). (closes vim/vim#9720)
https://github.com/vim/vim/commit/769f5895ebfd10535a0ad978f071da8f20178fc6
Cherry-pick a modeline from Vim patch 8.2.1432.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot filter :disp output.
Solution: Support filtereing :disp output. (Andi Massimino, closes vim/vim#5117)
https://github.com/vim/vim/commit/8fc42964363087025a27e8c80276c706536fc4e3
|
|/ / |
|
|\ \
| | |
| | | |
refactor(mbyte.c): add const qualifiers
|
| | |
| | |
| | |
| | |
| | | |
This only touches functions that do not return a pointer.
Also add a note about the differences between mb_head_off() and utf_head_off().
|
| | |
| | |
| | |
| | |
| | | |
Problem: Part of condition is always true.
Solution: Remove that part of the condition. (closes vim/vim#9729)
https://github.com/vim/vim/commit/78a8404f8b6ad0152614d5fdc3ec277444c1eee5
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.4329: no support for end line number and column in 'errorformat'
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: No support for end line number and column in 'errorformat'.
Solution: Add %e and %k. (closes vim/vim#9624)
https://github.com/vim/vim/commit/e023d499378942a6c3a3855cbe461ec2cb570f63
Use "\t" to represent a Tab as it looks better.
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.2.{4242,4315}: put in Visual mode cannot be repeated
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Put in Visual mode not fully tested.
Solution: Add a few more test cases. (closes vim/vim#9708)
https://github.com/vim/vim/commit/6bf821e8abe1da24e5d0624f032d7eda745756e8
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes vim/vim#9591)
https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab
Cherry-pick get_y_previous() and set_y_previous() from patch 8.1.1736.
Nvim has removed y_current, so code related to it is N/A.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Write file test fails on MS-Windows.
Solution: Force edit after setting 'fileformat'.
https://github.com/vim/vim/commit/bd318559cf8dea210e943100536011473f25bf68
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: First write after setting 'eol' does not have NL added. (Tomáš
Janoušek)
Solution: Only use b_no_eol_lnum when doing a binary write. (closes vim/vim#7535)
https://github.com/vim/vim/commit/b3c8b1d25414f2e24ad03551cdf125b3e2c142b1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test 42 is still old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#6561)
https://github.com/vim/vim/commit/b61ef01cce2afd70fbfa2805336a26643109dfb7
Including the Xtest2 -> Xfile2 change from Vim patch 8.2.1498.
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
refactor(PVS/V547): expression is always true/false
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
feat(term): Use vterm_output_set_callback()
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: The ex_vimgrep() function is too long.
Solution: Split it in three parts. (Yegappan Lakshmanan, closes vim/vim#5211)
https://github.com/vim/vim/commit/d6a98a3a9768568b668f91a53267b36f86b84466
Including a missing change to ex_vimgrep() from patch 8.0.1831.
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.2.0197: some Ex commands not sufficiently tested
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5565)
https://github.com/vim/vim/commit/ea3db914c0fa35797ad73f6d5bb3a4288d690065
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vim-patch:8.2.{0882,1051,1083}: port `reduce()` function
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Crash when using reduce() on a NULL list.
Solution: Only access the list when not NULL.
https://github.com/vim/vim/commit/fda20c4cc59008264676a6deb6a3095ed0c248e0
CHECK_LIST_MATERIALIZE hasn't been ported yet, but presumably if it is ported
it'll use tv_list_first to check for range_list_item, which already checks for
NULL, so this should need no extra changes and can be a full port.
We didn't actually crash here due to the use of Nvim's tv_list functions
checking for NULL, but apply these changes to match Vim better anyway.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Crash when changing a list while using reduce() on it.
Solution: Lock the list. (closes vim/vim#6330)
https://github.com/vim/vim/commit/ca275a05d8b79f6a9101604fdede2373d0dea44e
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Leaking memory when using reduce().
Solution: Free the intermediate value.
https://github.com/vim/vim/commit/48b1c21809553d3463b5ed6c2b3bc6d335663bb6
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: No reduce() function.
Solution: Add a reduce() function. (closes vim/vim#5481)
https://github.com/vim/vim/commit/85629985b71035608a37ba3bde86968481490d46
Needs CHECK_LIST_MATERIALIZE from v8.2.0751 (and range_list_materialize from
8.2.0149).
Move e_reduceempty to funcs.c, as it's only used there. Make it static.
Use tv_blob_len, tv_list_len == 0 for empty checks.
Replace vim_memset(&funcexe, 0, ...) with FUNCEXE_INIT.
Leave li initially undefined (tv_list_first returns NULL if list is NULL).
This patch has a memory leak fixed by v8.2.0882.
|
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: "o" and "O" copying comment not sufficiently tested.
Solution: Add a test case. (closes vim/vim#9718)
https://github.com/vim/vim/commit/51ab7c7d0da08aac796acff22a6c075dac579e76
Fix a mistake when porting Vim patch 8.2.3934
|
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.2.{4303,4307}: a few messages should not be translated
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: A few more messages should not be translated.
Solution: Remove _().
https://github.com/vim/vim/commit/0c1550d9e94046d3fc9a8ad70b895eaa1e53fca5
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: A few messages should not be translated.
Solution: Remove _(). (Dominique Pellé, closes vim/vim#9702)
https://github.com/vim/vim/commit/cd53eed2c55f2256008962965b1de1d1df76d535
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Dani Dickstein <daniel.dickstein@gmail.com>
Co-authored-by: Axel Dahlberg <git@valleymnt.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes vim/vim#8152)
https://github.com/vim/vim/commit/bb01a1ef3a093cdb36877ba73474719c531dc8cb
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Fuzzy matching doesn't give access to the scores.
Solution: Return the scores with a third list. (Yegappan Lakshmanan,
closes vim/vim#7596)
https://github.com/vim/vim/commit/9d19e4f4ba55f8bef18d4991abdf740ff6472dba
Remove seemingly useless NULL checks.
assert that removing the li one wasn't dumb.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Fuzzy matching does not recognize path separators.
Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
closes vim/vim#7225)
https://github.com/vim/vim/commit/dcdd42a8ccb9bafd857735d694b074269f337333
|