aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Merge pull request #16341 from zeertzjq/vim-8.2.2518nightlyJan Edmund Lazo2021-11-21
|\ | | | | vim-patch:8.2.{2518,2520,3572,3588}: 'listchars' (and 'fillchars'?) fixes
| * vim-patch:8.2.3588: break statement is never reachedzeertzjq2021-11-17
| | | | | | | | | | | | | | Problem: Break statement is never reached. Solution: Rely on return value of set_chars_option() not changing. (closes vim/vim#9103) https://github.com/vim/vim/commit/606efc7df4c94104bbd24248106dd0e4ee6f7cfa
| * vim-patch:8.2.3572: memory leak when closing window and using "multispace"zeertzjq2021-11-17
| | | | | | | | | | | | | | Problem: Memory leak when closing window and using "multispace" in 'listchars'. Solution: Free the memory. (closes vim/vim#9071) https://github.com/vim/vim/commit/7a33ebfc5b04353aa7674972087d581def8fdcc1
| * vim-patch:8.2.2520: missing tests for 'listchars'zeertzjq2021-11-17
| | | | | | | | | | | | Problem: Missing tests for 'listchars'. Solution: Add a few more checks. (Yegappan Lakshmanan, closes vim/vim#7854) https://github.com/vim/vim/commit/04ea7e9049706788179945e2a91922c0b7cb9ed0
| * fix(options): using :set fillchars should clear local valuezeertzjq2021-11-17
| |
| * vim-patch:8.2.2518: 'listchars' should be window-localzeertzjq2021-11-17
| | | | | | | | | | | | | | | | | | | | | | Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes vim/vim#5206, closes vim/vim#7850) https://github.com/vim/vim/commit/eed9d46293f0842aad0d50ff3a526f9a48b12421 Nvim already has this feature, but it implements :set listchars the same as :setglobal listchars, which is incorrect. Vim's implementation of :set listchars is correct: using :set listchars clears local value.
* | vim-patch:8.2.3627: difficult to know where the text starts in a window (#16377)zeertzjq2021-11-21
| | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.3627: difficult to know where the text starts in a window Problem: difficult to know where the text starts in a window. (Sergey Vlasov) Solution: Add the "textoff" entry in the result of getwininfo(). (closes vim/vim#9163) https://github.com/vim/vim/commit/cdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4 Fix indent in Test_getbufwintabinfo().
* | Merge pull request #16386 from VVKot/vim-8.2.2922Jan Edmund Lazo2021-11-21
|\ \ | | | | | | vim-patch:8.2.2922,8.2.3639
| * | vim-patch:8.2.3639: line commented out accidentallyVVKot2021-11-21
| | | | | | | | | | | | | | | | | | Problem: Line commented out accidentally. Solution: Uncomment. (Volodymyr Kot, closes vim/vim#9172) https://github.com/vim/vim/commit/7f0c4b418e01d6e056a74de2f22fcbad613b7591
| * | vim-patch:8.2.2922: computing array length is done in various waysVVKot2021-11-21
| | | | | | | | | | | | | | | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes vim/vim#8305) https://github.com/vim/vim/commit/eeec2548785b2dd245a31ab25d7bde0f88ea1a6d
* | | Merge pull request #16362 from zeertzjq/vim-8.2.3617Jan Edmund Lazo2021-11-21
|\ \ \ | | | | | | | | vim-patch:8.2.{3468,3617,3618,3622}: some other CWD related patches
| * | | vim-patch:8.2.3622: "verbose pwd" shows confusing infozeertzjq2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "verbose pwd" shows confusing info when :lcd does not change directory. Solution: Clear last_chdir_reason also when the directory does not change. (closes vim/vim#9160) https://github.com/vim/vim/commit/64be6aa3a54ecfe355d4a03e1200650c301e7f29 This only ports the tests, as this is already Nvim's behavior.
| * | | vim-patch:8.2.3618: getcwd() is unclear about how 'autochdir' is usedzeertzjq2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getcwd() is unclear about how 'autochdir' is used. Solution: Update the help for getcwd(). Without any arguments always return the actual current directory. (closes vim/vim#9142) https://github.com/vim/vim/commit/851c7a699ae00bdc14a4db874cf722b7b7393b53
| * | | revert: partially revert #9894zeertzjq2021-11-19
| | | | | | | | | | | | | | | | Vim has a solution to #9892 with fewer side-effects in patch 8.2.3618
| * | | vim-patch:8.2.3617: ":verbose pwd" does not mention 'autochdir' was appliedzeertzjq2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ":verbose pwd" does not mention 'autochdir' was applied. Solution: Remember the last chdir was done by 'autochdir'. (issue vim/vim#9142) https://github.com/vim/vim/commit/0526815c15170a5926e1008600ec29d42d8b64c2
| * | | vim-patch:8.2.3468: problem with :cd when editing file in non-existent directoryzeertzjq2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Problem with :cd when editing file in non-existent directory. (Yee Cheng Chin) Solution: Prepend the current directory to get the full path. (closes vim/vim#8903) https://github.com/vim/vim/commit/c6376c798433bcb9ee38a8664299d11454546950
* | | | vim-patch:8.2.3255: ci" finds following string but ci< and others don't (#16324)Michal Liszcz2021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ci" finds following string but ci< and others don't. Solution: When not inside an object find the start. (Connor Lane Smit, closes vim/vim#8670) https://github.com/vim/vim/commit/b9115da4bec5e6cfff69da85cc47c42dd67e42e4
* | | | vim-patch:8.1.1606: on a narrow screen ":hi" output is confusing (#16388)Volodymyr Kot2021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: On a narrow screen ":hi" output is confusing. Solution: Insert a space between highlight group name and "xxx". (Masato Nishihaga, closes vim/vim#4599) https://github.com/vim/vim/commit/548be7f126dc57ca861cb26dc6492c3b2a9e2c99
* | | | vim-patch:8.2.3638: getcompletion() always passes zero as position (#16387)ii142021-11-21
| |/ / |/| | | | | | | | | | | | | | | | | | | | Problem: getcompletion() always passes zero as position to custom completion function. Solution: Pass the pattern length. (closes vim/vim#9173) https://github.com/vim/vim/commit/4785fe02bba14c4e0aede0fa425ca790a1cb98d7 Co-authored-by: ii14 <ii14@users.noreply.github.com>
* | | Merge pull request #14540 from Shougo/fix_vim8.1.1378Jan Edmund Lazo2021-11-20
|\ \ \ | | | | | | | | [RFC] Improve tests
| * | | fix: errorShougo Matsushita2021-11-19
| | | |
| * | | test: save clipboardShougo Matsushita2021-11-19
| | | |
| * | | fix: remove unnecessary changesShougo Matsushita2021-11-19
| | | |
| * | | fix: for reviewsShougo Matsushita2021-11-19
| | | |
| * | | fix: disable clipboard when test registersShougo Matsushita2021-11-19
| | | |
| * | | fix: remove previous executed directories to execute tests locallyShougo Matsushita2021-11-19
| | | |
| * | | fix: add cd for local executionShougo Matsushita2021-11-19
| | | |
| * | | vim-patch:8.2.3616: arglist test does not clear the argument list consistentlyShougo Matsushita2021-11-19
| |/ / | | | | | | | | | | | | | | | Problem: Arglist test does not clear the argument list consistently. Solution: Call Reset_arglist(). (Shougo Matsushita, closes vim/vim#9154) https://github.com/vim/vim/commit/3cad47038547e694cfa26ba39c399f610d2054bd
* | | vim-patch:8.1.0753: printf format not checked for semsg() (#16378)Volodymyr Kot2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes vim/vim#3805) https://github.com/vim/vim/commit/b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 (Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
* | | refactor: saner options for uncrustify (#16204)dundargoc2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sp_enum_after_assign = force * sp_brace_typedef = force * nl_do_brace = remove * sp_do_brace_open = force * sp_brace_close_while = force * sp_before_semi = remove * sp_before_semi_for = remove * sp_before_semi_for_empty = remove * sp_between_semi_for_empty = remove * sp_after_semi_for_empty = remove * sp_before_square = remove * sp_before_squares = remove * sp_inside_square = remove * sp_inside_fparens = remove * sp_inside_fparen = remove * sp_inside_tparen = remove * sp_after_tparen_close = remove * sp_return_paren = force * pos_bool = lead * sp_pp_concat = remove * sp_pp_stringify = remove * fixup: disable formatting for the INIT section
* | | Merge pull request #16066 from neovim/marvim/ci-version-updateJames McCoy2021-11-19
|\ \ \ | | | | | | | | version.c: update [skip ci]
| * | | version.c: update [skip ci]marvim2021-11-19
| |/ /
* / / fix(eval): fixup for empty modifier in fnamemodify (#16368)Christian Clason2021-11-19
|/ / | | | | | | | | | | | | | | | | | | | | * fix(eval): fixup for empty modifier in fnamemodify https://github.com/neovim/neovim/commit/1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816 erroneously removed a check for empty modifier and a PVS fix. Restore that check and fix. Fixes #16367 Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | vim-patch:01164a6546b4 (#16335)zeertzjq2021-11-17
| | | | | | missing changes to src/nvim/po/check.vim from https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66#diff-ed3e88d59856bb5b62b2a394fb8c7293cd5794531e0718c0aa2d3d768d7973d1
* | vim-patch:8.2.3593: directory is wrong after executing "lcd" with ↵zeertzjq2021-11-17
| | | | | | | | | | | | | | | | win_execute() (#16314) Problem: Directory is wrong after executing "lcd" with win_execute(). Solution: Correct the directory when going back to the original window. (closes vim/vim#9132) https://github.com/vim/vim/commit/7f13b24ab6aca808262e68680d8fe5f082670ebd
* | vim-patch:8.2.3591: no event is triggered when closing a window (#16306)zeertzjq2021-11-17
| | | | | | | | | | | | | | | | Problem: No event is triggered when closing a window. Solution: Add the WinClosed event. (Naohiro Ono, closes vim/vim#9110) https://github.com/vim/vim/commit/23beefed73aadb243fb67cf944e3d60fe8c038bb Nvim has already implemented this feature, so this only changes tests and docs.
* | vim-patch:8.2.3522: cannot use \x and \u when setting 'listchars' (#16049)zeertzjq2021-11-17
|/ | | | | Problem: Cannot use \x and \u when setting 'listchars'. Solution: Support hex and unicode in hex form. (closes vim/vim#9006) https://github.com/vim/vim/commit/93ff6720fe4427341bc426b6d46e6324f226c270
* refactor: reduce number of explicit char casts (#16077)dundargoc2021-11-16
| | | * refactor: reduce number of explicit char casts
* vim-patch:8.2.3604: not all sudoers files are recognized (#16338)Christian Clason2021-11-16
| | | | | Problem: Not all sudoers files are recognized. Solution: Add a file pattern. (Doug Kearns, closes vim/vim#1192) https://github.com/vim/vim/commit/c143fa0778fa0d8744867318bb7f7a2e63cf37d7
* vim-patch:8.2.3603: fish filetype not recognized (#16337)Christian Clason2021-11-16
| | | | | Problem: Fish filetype not recognized. Solution: Add a file pattern and match script line. (Doug Kearns) https://github.com/vim/vim/commit/b1b163efd7bb3ca68cce101d4e431559d2944a8e
* vim-patch:8.2.3599: not all gdbinit files are recognizedChristian Clason2021-11-16
| | | | | | Problem: Not all gdbinit files are recognized. Solution: Add "gdbinit". (Doug Kearns) https://github.com/vim/vim/commit/782b4bbc163e03ebe98d25bc62b9d82cba8f91a1
* vim-patch:8.2.3598: RouterOS filetype is not recognizedChristian Clason2021-11-15
| | | | | | Problem: RouterOS filetype is not recognized. Solution: Add file and script patterns. (closes vim/vim#9097) https://github.com/vim/vim/commit/0818ab82e7058145366ebbe759f0b3f74724bdfd
* Merge pull request #16047 from mcepl/vim-8.2.3520Jan Edmund Lazo2021-11-14
|\ | | | | vim-patch:8.2.3520: cannot define a function for thesaurus completion
| * vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scopeMatěj Cepl2021-11-06
| | | | | | | | | | | | Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local. https://github.com/vim/vim/commit/f4d8b76d304dabc39c06d2344cd4c7b28484811b
| * vim-patch:8.2.3525: option variable name does not match option nameMatěj Cepl2021-10-24
| | | | | | | | | | | | | | Problem: Option variable name does not match option name. (Christ van Willigen) Solution: Rename the variable. https://github.com/vim/vim/commit/d4c4bfa0078a959ff90ef30288fd31d9d38f23d7
| * vim-patch:8.2.3521: options completion test failsMatěj Cepl2021-10-23
| | | | | | | | | | | | Problem: Options completion test fails. Solution: Add 'thesaurusfunc' to the results. https://github.com/vim/vim/commit/abdcfd1c837e244065d4fe04c7a78abae5af3f7e
| * vim-patch:8.2.3520: cannot define a function for thesaurus completionMatěj Cepl2021-10-23
| | | | | | | | | | | | | | Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987, closes 8950) https://github.com/vim/vim/commit/160e994d768d03a3c826b58115cde94df8fce607
* | refactor(macroman): get rid of MB_COPY_CHAR macroBjörn Linse2021-11-14
| | | | | | | | clean up docs for MB_PTR_ADV and MB_PTR_BACK
* | refactor(macros): delete multibyte macros which just are aliasesBjörn Linse2021-11-14
| |
* | refactor(multibyte): eliminate mb_char2len alias for utf_char2lenBjörn Linse2021-11-14
| |