aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* vim-patch:9.0.0610: global interrupt test fails when run under valgrind (#21285)zeertzjq2022-12-04
| | | | | | | | Problem: Global interrupt test fails when run under valgrind. Solution: Use TermWait(). https://github.com/vim/vim/commit/859ea4bc76699232e41aea0f308463bab887b0c1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:9.0.0259: crash with mouse click when not initialized (#21282)zeertzjq2022-12-04
| | | | | | | | Problem: Crash with mouse click when not initialized. Solution: Check TabPageIdxs[] is not NULL. https://github.com/vim/vim/commit/80525751c5ce9ed82c41d83faf9ef38667bf61b1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #21281 from zeertzjq/vim-8.2.4163zeertzjq2022-12-04
|\ | | | | vim-patch:8.2.{4163,4168}
| * vim-patch:8.2.4168: disallowing empty function name breaks existing pluginszeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | Problem: Disallowing empty function name breaks existing plugins. Solution: Allow empty function name in legacy script. https://github.com/vim/vim/commit/e6a4200ff47708febcd7cb2b8c3dd3801a975d43 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4163: no error for omitting function name after autoload prefixzeertzjq2022-12-04
|/ | | | | | | | | Problem: No error for omitting function name after autoload prefix. Solution: Check for missing function name. (issue vim/vim#9577) https://github.com/vim/vim/commit/2017d6f3b1d523204e5471e941cfa687b4da0058 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #21279 from zeertzjq/vim-8.2.2182zeertzjq2022-12-04
|\ | | | | vim-patch:8.2.{2182,2295,3265,3292}: search fixes
| * vim-patch:8.2.3292: underscore in very magic pattern causes a hangzeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | | | Problem: Underscore in very magic pattern causes a hang. Pattern with \V are case sensitive. (Yutao Yuan) Solution: Adjust condition for magicness and advance pointer. (Christian Brabandt, closes vim/vim#8707, closes vim/vim#8704, closes vim/vim#8705) https://github.com/vim/vim/commit/bc67e5a0a494f5fc48e872d747371e31a782d171 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:8.2.3265: smartcase does not work correctly in very magic patternzeertzjq2022-12-04
| | | | | | | | | | | | | | | | | | | | Problem: Smartcase does not work correctly in very magic pattern. Solution: Take the magicness into account when skipping over regexp items. (Christian Brabandt, closes vim/vim#8682, closes vim/vim#7845) https://github.com/vim/vim/commit/78ba933d18439ff1a02f6be4c571e73ddceb3cd4 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:8.2.2295: incsearch does not detect empty pattern properlyzeertzjq2022-12-04
| | | | | | | | | | | | | | | | Problem: Incsearch does not detect empty pattern properly. Solution: Return magic state when skipping over a pattern. (Christian Brabandt, closes vim/vim#7612, closes vim/vim#6420) https://github.com/vim/vim/commit/d93a7fc1a98a58f8101ee780d4735079ad99ae35
| * vim-patch:8.2.2182: Vim9: value of 'magic' is still relevantzeertzjq2022-12-04
|/ | | | | | | | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes vim/vim#7509) https://github.com/vim/vim/commit/f4e2099e39ed4d71aed0f9a9579455aed5ec6cc2 EX_NONWHITE_OK is N/A: only applies to Vim9 script. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(syntax): correct conceal for annotated code blocks (#21272)Christian Clason2022-12-03
| | | fixup for https://github.com/neovim/neovim/pull/21154
* Merge pull request #21274 from zeertzjq/vim-8.2.3992zeertzjq2022-12-03
|\ | | | | vim-patch:8.2.{3992,4261,4262},9.0.{0110,0577}
| * vim-patch:9.0.0577: buffer underflow with unexpected :finallyzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | Problem: Buffer underflow with unexpected :finally. Solution: Check CSF_TRY can be found. https://github.com/vim/vim/commit/96b9bf8f74af8abf1e30054f996708db7dc285be Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0110: help tag generation picks up words in code exampleszeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | Problem: Help tag generation picks up words in code examples. Solution: Skip over examples. (Carlo Teubner, closes vim/vim#10813) https://github.com/vim/vim/commit/ddab3ce3457aadffb16ce0127f67a99966a065a8 Also fix mistakes in help files. Co-authored-by: Carlo Teubner <carlo@cteubner.net>
| * test(old): skip Vim9 script with less divergencezeertzjq2022-12-03
| |
| * vim-patch:8.2.4262: some search tests failzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | Problem: Some search tests fail. Solution: Use a better way to reject searching for the Visual area. https://github.com/vim/vim/commit/44a4d947bbc2c5ddb2908346a7c61ef93b59a3ca Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.4261: accessing invalid memory in a regular expressionzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Accessing invalid memory when a regular expression checks the Visual area while matching in a string. Solution: Do not try matching the Visual area in a string. https://github.com/vim/vim/commit/679d66c2d21dfe03d0f89b9a818b0aaebb4c3b87 Use CheckScriptFailure() instead of v9.CheckScriptFailure(). Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.3992: wrong local-additions in the help with language mixzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | Problem: Wrong local-additions in the help with language mix. Solution: Adjust how the local additions list is generated. (Hirohito Higashi, closes vim/vim#9464) https://github.com/vim/vim/commit/0e2508d9e63e63414de2c06b3c8a446fdfe4470b Co-authored-by: h-east <h.east.727@gmail.com>
| * test(old): make ":h local-additions" work properly in test_help.vimzeertzjq2022-12-03
|/
* fix(lsp): render <pre>{lang} code blocks and set separator default to false ↵Folke Lemaitre2022-12-03
| | | | (#21271)
* Merge pull request #21270 from zeertzjq/vim-8.2.1420zeertzjq2022-12-03
|\ | | | | vim-patch:8.2.{1420,1440}: test 49 is old style
| * vim-patch:8.2.1440: debugger code insufficiently testedzeertzjq2022-12-03
| | | | | | | | | | | | | | Problem: Debugger code insufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6700) https://github.com/vim/vim/commit/16c6232cad40af37f37dc9c561392b7761b9e229
| * vim-patch:8.2.1420: test 49 is old stylezeertzjq2022-12-03
|/ | | | | | | | Problem: Test 49 is old style. Solution: Convert remaining parts to new style. Remove obsolete items. (Yegappan Lakshmanan, closes vim/vim#6683) https://github.com/vim/vim/commit/f7c4d83609acdfe0e4d0fec9413697ac97c0c3f9
* vim-patch:9.0.0322: crash when no errors and 'quickfixtextfunc' is set (#21269)zeertzjq2022-12-03
| | | | | | | | Problem: Crash when no errors and 'quickfixtextfunc' is set. Solution: Do not handle errors if there aren't any. https://github.com/vim/vim/commit/4f1b083be43f351bc107541e7b0c9655a5d2c0bb Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #21267 from zeertzjq/vim-8.2.3900zeertzjq2022-12-03
|\ | | | | vim-patch:8.2.{3900,partial:3908}: it is not easy to use a script-local function for an option
| * vim-patch:partial:8.2.3908: cannot use a script-local function for 'foldtext'zeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes vim/vim#9411) https://github.com/vim/vim/commit/27708e6c7b6f444fd599f3dc5015336b002b874d Only port the changes actually related to 'foldtext'. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * vim-patch:8.2.3900: it is not easy to use a script-local function for an optionzeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to use a script-local function for an option. Solution: recognize s: and <SID> at the start of the expression. (Yegappan Lakshmanan, closes vim/vim#9401) https://github.com/vim/vim/commit/8bb65f230d3025037f34021a72616038da0601ee Omit duplicate docs in fold.txt: removed in a later runtime update. Cherry-pick test_diffmode.vim changes from patch 8.2.1432. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * refactor: make sure getting a callback doesn't modify argumentzeertzjq2022-12-03
|/
* Merge pull request #21266 from zeertzjq/vim-8.2.3889zeertzjq2022-12-03
|\ | | | | vim-patch:8.2.3889,9.0.{0805,0990}
| * vim-patch:9.0.0990: callback name argument is changed by setqflist()zeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | | | Problem: Callback name argument is changed by setqflist(). Solution: Use the expanded function name for the callback, do not store it in the argument. (closes vim/vim#11653) https://github.com/vim/vim/commit/c96b7f5d2af241c5eb1589e9da3dc09e45355e65 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0805: filetype autocmd may cause freed memory accesszeertzjq2022-12-03
| | | | | | | | | | | | | | | | | | Problem: Filetype autocmd may cause freed memory access. Solution: Set the quickfix-busy flag while filling the buffer. https://github.com/vim/vim/commit/d0fab10ed2a86698937e3c3fed2f10bd9bb5e731 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.2.3889: duplicate code for translating script-local function namezeertzjq2022-12-03
|/ | | | | | | | | | Problem: Duplicate code for translating script-local function name. Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan, closes vim/vim#9393) https://github.com/vim/vim/commit/e7f4abd38b6e05100c699900c8f87281e363beb2 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* Merge pull request #21154 from clason/vimdoc-injectionsChristian Clason2022-12-02
|\ | | | | feat(help): highlighted codeblocks
| * docs(news): add entry for highlighted codeChristian Clason2022-12-02
| |
| * docs(gen): support language annotation in docstringsChristian Clason2022-12-02
| |
| * feat(web): syntax highlighting via highlight.jsChristian Clason2022-12-02
| | | | | | | | | | | | | | download from https://highlightjs.org/download/ place `highlight/` directory next to `css/` style needs adapting for Neovim colors
| * docs: add language annotation to Nvim manualChristian Clason2022-12-02
| |
| * feat(help): highlighted codeblocksChristian Clason2022-11-29
| |
* | Merge pull request #21264 from zeertzjq/vim-8.2.3829zeertzjq2022-12-02
|\ \ | | | | | | vim-patch:8.2.{3829,3838}: cannot use script-local function for setting *func options
| * | vim-patch:8.2.3838: cannot use script-local function for setting *func optionszeertzjq2022-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use script-local function for setting *func options. Solution: Use the script context. (Yegappan Lakshmanan, closes vim/vim#9362) https://github.com/vim/vim/commit/db1a410b610b2c1941311acc57dcc4afec20720e Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * | vim-patch:8.2.3829: no error when setting a func option to script-local functionzeertzjq2022-12-02
|/ / | | | | | | | | | | | | | | | | | | | | | | Problem: No error when setting a func option to a script-local function. Solution: Give an error if the name starts with "s:". (closes vim/vim#9358) https://github.com/vim/vim/commit/94c785d235dccacf6cdf38c5903115b61ca8a981 Omit test: reverted in patch 8.2.3838. Cherry-pick SCRIPT_ID_VALID from patch 8.2.1539. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | build: restrict `git describe` to top level source directory (#20993)Jan Palus2022-12-02
| | | | | | | | fix version determination when building neovim from release tarball extracted within another git repository
* | fix(diff): fix a crash in diff mode with linematch enabled (#21070)Jonathon2022-12-02
| | | | | | | | | | Problem: With two files open side by side in diff mode and deleting all of the contents of one file, the w_topfill value, which indicates the number of filler lines at the top of the window is set to be a negative number, and it will result in the virtual_lines_passed variable also being negative, and this while loop will run when it shouldn't. While calculating where the cursor and topline should be with linematch enabled, this topfill value is used to put the cursor and top line where it should be in the other windows. If that topfill number is negative, this causes a segfault. Solution: Check for positive top fill.
* | feat(aucmd_win): allow crazy things with hidden buffers (#21250)zeertzjq2022-12-02
| | | | | | | | Problem: Crash when doing crazy things with hidden buffers. Solution: Dynamically allocate the list of autocommand windows.
* | build(deps): bump LuaJIT to HEAD - 564147f51 (#21257)Christian Clason2022-12-02
| |
* | refactor: remove COMMA (#21260)zeertzjq2022-12-02
| | | | | | It is not needed in Nvim. Ref #6068
* | test: use luv.os_uname for fast platform detection (#21157)kylo2522022-12-02
| |
* | Merge pull request #21262 from zeertzjq/vim-8.2.1748zeertzjq2022-12-02
|\ \ | | | | | | vim-patch:8.2.1748: closing split window in other tab may cause a crash
| * | vim-patch:8.2.1748: closing split window in other tab may cause a crashzeertzjq2022-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Closing split window in other tab may cause a crash. Solution: Set tp_curwin properly. (Rob Pilling, closes vim/vim#7018) https://github.com/vim/vim/commit/f3c51bbff1256a52bdd9ede7887f40062be2628c Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | fix(float): make closing float in another tab return to correct windowzeertzjq2022-12-02
|/ /