Shouldn't def functions be prohibited in legacy vimscript?
https://vi.stackexchange.com/questions/36829/how-can-i-define-vim9-functions-and-vim9-lambdas-in-a-vim9-script
Basically if you add
def! Hello()
echo "hello world"
enddef
to a regular legacy vim file (.vimrc, for example), function
Patch 8.2.4403
Problem:ml_get error with nested folds and deleting lines.
Solution: Correct the last line number before calling hasFoldingWin().
Files: src/change.c
*** ../vim-8.2.4402/src/change.c2022-02-16 20:30:47.948098690 +
--- src/change.c2022-02-16 21:49:40
Patch 8.2.4404
Problem:Vim9: some code not covered by tests.
Solution: Add a few specific test cases.
Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
src/testdir/test_vim9_import.vim
*** ../vim-8.2.4403/src/vim9execute.c 2022-02-12 14:23:14.047444006 +
---
Patch 8.2.4405
Problem:Compiler warning for unused variable without the +folding feature.
(Tony Mechelynck)
Solution: Add #ifdef.
Files: src/change.c
*** ../vim-8.2.4404/src/change.c2022-02-16 20:30:47.948098690 +
--- src/change.c2022-02-16 21:49:40.01
Tony wrote:
> I don't yet see the patch in the list but it has appeared on the
> Mercurial server.
>
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
> -Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=3D1-o objects/change.o change.c
Here is the error
In file included from proto.h:210,
from vim.h:2244,
from if_ole.cpp:16:
proto/usercmd.pro:3:76: error: expected ')' before 'compl' token
3 | char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long
argt, int compl, expand_T *xp, int
I don't yet see the patch in the list but it has appeared on the
Mercurial server.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall
-Wno-deprecated-declarations -D_REENTRANT -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1-o objects/change.o change.c
change.c: In function ‘change
> Trying to build gvim under MSYS2 Win10 with make_ming.mak cause error.
>
>
> mingw-make error on attempt to build Vim.8.2.4398
>
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00
> -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H
> -DDYNAMIC_GETTEX
Patch 8.2.4402
Problem:Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788)
Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
src
Hi,
Trying to build gvim under MSYS2 Win10 with make_ming.mak cause error.
mingw-make error on attempt to build Vim.8.2.4398
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00
-DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H
-DDYNAMIC_GETTEXT -DFEAT_OLE
Patch 8.2.4401
Problem:Map listing does not clear the rest of the command line.
Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
Files: src/map.c, src/testdir/test_mapping.vim,
src/testdir/dumps/Test_map_list_1.dump
*** ../vim-8.2.4400/src/map.c 2022-01-31 1
Patch 8.2.4400 (after 8.2.4394)
Problem:MS-Windows: cannot use the mouse in the console with VIMDLL.
Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
closes #9769)
Files: src/getchar.c
*** ../vim-8.2.4399/src/getchar.c 2022-02-15 19:52:52.8
Patch 8.2.4399
Problem:Crash after ml_get error.
Solution: When returning "???" flush the line and set ml_line_lnum.
Files: src/memline.c
*** ../vim-8.2.4398/src/memline.c 2022-01-29 15:19:19.546172430 +
--- src/memline.c 2022-02-16 16:30:21.514068737 +
**
Patch 8.2.4398
Problem:Some command completion functions are too long.
Solution: Refactor code into separate functions. Add a few more tests.
(Yegappan Lakshmanan, closes #9785)
Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
src/proto/usercmd.pro, src/t
Patch 8.2.4397
Problem:Crash when using many composing characters in error message.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
Files: src/testing.c, src/testdir/test_assert.vim
*** ../vim-8.2.4396/src/testing.c 2022-02-01 10:15:56.935952340 +
--- src/tes
15 matches
Mail list logo