Re: [vim/vim] Trigger ModeChanged on all minor mode changes (#8999)

2021-10-19 Fir de Conversatie Bram Moolenaar
> When `Ctrl-C` is used to exit insert mode to normal mode, `got_int` is > set which means that the autocmd is not received. But I guess this is > intentional? I suppose so. If someone is in the habit of using CTRL-C to exit Insert mode some side effects are to be expected. At least let's keep

Patch 8.2.3543

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3543 Problem:Swapname has double slash when 'directory' ends in double slash. (Shane Smith) Solution: Remove the superfluous slash. (closes #8876) Files: src/memline.c, src/testdir/test_swap.vim *** ../vim-8.2.3542/src/memline.c 2021-10-14 21:27:50.6462538

Patch 8.2.3542

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3542 Problem:Too many comments are old style. Solution: Change comments to // style. (closes #9021) Files: src/buffer.c *** ../vim-8.2.3541/src/buffer.c2021-10-16 21:14:07.495196461 +0100 --- src/buffer.c2021-10-19 20:46:24.163108515 +0100 *** **

Patch 8.2.3541

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3541 Problem:Compiler warning for unused variable in tiny version. Solution: Add #ifdef. (John Marriott) Files: src/highlight.c *** ../vim-8.2.3540/src/highlight.c 2021-10-19 13:44:48.721313059 +0100 --- src/highlight.c 2021-10-19 20:22:53.940900159 +0100 **

Re: Patch 8.2.3536

2021-10-19 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 19-Oct-2021 08:14, Bram Moolenaar wrote: > > Patch 8.2.3536 > > Problem:The do_highlight() function is way too long. > > Solution: Split it into several functions. (Yegappan Lakshmanan, > > closes #9011) > > Files: src/highlight.c > > > > > > > A

Patch 8.2.3540

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3540 Problem:The mark '] is wrong after put with a count. (Naohiro Ono) Solution: Use the right line number. (closes #8956) Files: src/register.c, src/testdir/test_put.vim *** ../vim-8.2.3539/src/register.c 2021-10-10 12:35:13.331259343 +0100 --- src/register.c 20

Re: Patch 8.2.3536

2021-10-19 Fir de Conversatie John Marriott
On 19-Oct-2021 08:14, Bram Moolenaar wrote: Patch 8.2.3536 Problem:The do_highlight() function is way too long. Solution: Split it into several functions. (Yegappan Lakshmanan, closes #9011) Files: src/highlight.c After this patch mingw64 (gcc 11.2) throws these warnin

Patch 8.2.3539

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3539 Problem:GTK3: with 'rightleft' set scrollbar may move unintentionally. Solution: Ignore events while moving the scrollbar thumb. (closes #8958) Files: src/gui_gtk.c *** ../vim-8.2.3538/src/gui_gtk.c 2021-06-05 15:06:36.961265823 +0100 --- src/gui_gtk.c 2021

Patch 8.2.3538

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3538 Problem:Else-if indenting is confusing. Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017) Files: src/highlight.c *** ../vim-8.2.3537/src/highlight.c 2021-10-18 22:13:53.468428157 +0100 --- src/highlight.c 2021-10-19 13:42:56.339353529 +0100

Patch 8.2.3537

2021-10-19 Fir de Conversatie Bram Moolenaar
Patch 8.2.3537 Problem:mode() does not return the right value in 'operatorfunc'. Solution: Reset finish_op while calling 'operatorfunc'. Files: src/ops.c, src/testdir/test_functions.vim *** ../vim-8.2.3536/src/ops.c 2021-09-14 17:55:47.864129826 +0100 --- src/ops.c 2021-10-19 11: