[patch] doc fixes

2020-10-04 Fir de Conversatie Dominique Pellé
Hi Attached are documentation fixes for vim-8.2.1801. Regards Dominique -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message

Re: Vim9: rethinking conditions and boolean expressions

2020-10-04 Fir de Conversatie Bram Moolenaar
> In javascript you can use !! operator to always convert it to boolean. > > var name = '' > var nameExists = !!(name || 'Prabir') Yes, and I think we should do the same. It should already work like that now. Thus in most places where a condition is expected, such as with ":if" and ":while",

Re: Vim9: rethinking conditions and boolean expressions

2020-10-04 Fir de Conversatie ma...@prabir.me
In javascript you can use !! operator to always convert it to boolean. var name = '' var nameExists = !!(name || 'Prabir') On Saturday, October 3, 2020 at 12:25:21 PM UTC-7 Andy Wokula wrote: > Am 03.10.2020 um 17:44 schrieb Bram Moolenaar: > > Therefore, I'm going to make && and || have a boole

Patch 8.2.1801

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1801 Problem:Undo file not found when using ":args" or ":next". Solution: Handle like editing another file. (closes #7072) Files: src/ex_cmds.c, src/testdir/test_undo.vim *** ../vim-8.2.1800/src/ex_cmds.c 2020-08-15 16:33:24.497747330 +0200 --- src/ex_cmds.c 202

Patch 8.2.1800

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1800 Problem:Vim9: memory leak if "if" condition is invalid. Solution: Free ppconst earlier. Files: src/vim9compile.c *** ../vim-8.2.1799/src/vim9compile.c 2020-10-04 16:06:00.513884339 +0200 --- src/vim9compile.c 2020-10-04 17:17:44.058727117 +0200 *** ***

Patch 8.2.1799

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1799 Problem:Some Normal mode commands not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073) Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim, src/testdir/test_normal.vim, src/testdir/test_registers.vim, src/tes

Patch 8.2.1798

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1798 Problem:Vim9: trinary operator condition is too permissive. Solution: Use tv_get_bool_chk(). Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c, src/vim9execute.c, src/testdir/vim9.vim, src/testdir/test_expr.vim, src/testdir/test_vim9_expr

Re: Haskell and cabal syntax files

2020-10-04 Fir de Conversatie Bram Moolenaar
Marcin Szamotulski wrote: > I attach updated syntax files for haskell and cabal. Thanks, I'll include them. I'll update the date in the cabal file. -- Tips for aliens in New York: Land anywhere. Central Park, anywhere. No one will care or indeed even notice. -- Douglas Adams

Patch 8.2.1797

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1797 Problem:Vim9: some parts of the code not tested. Solution: Add a few tests. Files: src/testdir/test_vim9_func.vim *** ../vim-8.2.1796/src/testdir/test_vim9_func.vim 2020-10-04 13:42:30.299568231 +0200 --- src/testdir/test_vim9_func.vim 2020-10-04 14:13:18.67

Patch 8.2.1796

2020-10-04 Fir de Conversatie Bram Moolenaar
Patch 8.2.1796 Problem:Vim9: invalid memory access with weird function name. (Dhiraj Mishra) Solution: Check the name is valid. Add a test. Files: src/userfunc.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.1795/src/userfunc.c 2020-09-27 15:19:23.642118924 +0200 -

Haskell and cabal syntax files

2020-10-04 Fir de Conversatie 'Marcin Szamotulski' via vim_dev
Hi Bram, I attach updated syntax files for haskell and cabal. Best regards, Marcin Szamotulski -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You