Wrong % behaviour (with matchit) when "language messages en" is within the scope on an if statement

2021-04-10 Fir de Conversatie Tony Mechelynck
My vimrc includes the following snippet: if has('unix') language messages C else language messages en endif I just noticed that repeatedly hitting % (with matchit enabled) cycles from the if to the else to the en in "language messages en" and back. % on the final endif goes to the next outer

Patch 8.2.2753

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2753 Problem:Vim9: cannot ignore an item in assignment unpack. Solution: Allow using an underscore. Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim *** ../vim-8.2.2752/runtime/doc/vim9.txt

Patch 8.2.2752

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2752 problem:coverity reports unreachable code. Solution: Remove check for positive index. Files: src/typval.c *** ../vim-8.2.2751/src/typval.c2021-03-28 16:26:37.504193381 +0200 --- src/typval.c2021-04-10 21:44:34.230975582 +0200 *** *** 367,376

Patch 8.2.2751

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2751 Problem:Coverity warns for using NULL pointer. Solution: Check for NULL in calling function. Files: src/userfunc.c *** ../vim-8.2.2750/src/userfunc.c 2021-04-10 18:21:27.001205481 +0200 --- src/userfunc.c 2021-04-10 21:36:48.728260950 +0200 *** **

Patch 8.2.2750

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2750 Problem:Vim9: error for using underscore in nested function. Solution: Do not consider "_" already defined. (closes #8096) Files: src/vim9compile.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2749/src/vim9compile.c 2021-04-10 17:17:33.431942839 +0200 --- src/vim9c

Patch 8.2.2749

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2749 Problem:Vim9: test for error can be a bit flaky. Solution: Increase the wait time a bit. Files: src/testdir/test_vim9_script.vim *** ../vim-8.2.2748/src/testdir/test_vim9_script.vim2021-04-09 20:22:57.843301002 +0200 --- src/testdir/test_vim9_script.vim2021-04

Patch 8.2.2748

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2748 Problem:Vim9: memory leak when calling :def function fails. Solution: Jump to failed_early instead of returning. Files: src/vim9execute.c *** ../vim-8.2.2747/src/vim9execute.c 2021-04-10 20:10:14.644409608 +0200 --- src/vim9execute.c 2021-04-10 20:45:59.505060218 +

Patch 8.2.2747

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2747 Problem:Vim9: not always an error for too many function arguments. Solution: Check for getting too many arguments. Files: src/vim9execute.c, src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim *** ../vim-8.2.2746/src/vim9execute.c 2021-04-10

Patch 8.2.2746

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2746 (after 8.2.2745) Problem:Check for duplicate arguments does not work. Solution: Correct condition. Files: src/userfunc.c *** ../vim-8.2.2745/src/userfunc.c 2021-04-10 17:46:48.271318923 +0200 --- src/userfunc.c 2021-04-10 18:20:08.577503245 +0200

Patch 8.2.2745

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2745 (after 8.2.2744) Problem:Vim9: missing part of the argument change. Solution: Add missing changes. Files: src/userfunc.c *** ../vim-8.2.2744/src/userfunc.c 2021-04-09 20:22:57.839301018 +0200 --- src/userfunc.c 2021-04-10 16:36:27.078448805 +0200

Patch 8.2.2744

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2744 Problem:Vim9: no way to explicitly ignore an argument. Solution: Use the underscore as the name for an ignored argument. Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c, src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim *** ../vim-8.2.

Patch 8.2.2743

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2743 Problem:Vim9: function state stuck when compiling with ":silent!". Solution: Check for uf_def_status to be UF_COMPILING. Files: src/vim9compile.c, src/message.c, src/globals.h, src/testdir/test_vim9_func.vim *** ../vim-8.2.2742/src/vim9compile.c 2021-04-1

Patch 8.2.2742

2021-04-10 Fir de Conversatie Bram Moolenaar
Patch 8.2.2742 Problem:Vim9: when compiling a function fails it is cleared. Solution: Keep the function lines, prevent execution with a different status. (closes #8093) Files: src/vim9compile.c, src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim