Re: Zero cmdheight

2022-08-30 Fir de Conversatie Tony Mechelynck
To each his choice. Personally I set 'cmdheight' to at least 2 to avoid it bobbing up and down too much; OTOH for the sake of screen space I set 'winminheight' to zero, 'winheight' to , 'helpheight' to and 'noequalalways', so all non-current windows get reduced to just a status line and

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Gianmaria Bajo
Another thing you would lose, and that I could not accept losing, is the partial command you've typed, as when there is some pending operator, or the 'f' key. It couldn't even be shown somewhere else with a plugin, as far as I know. Il giorno martedì 30 agosto 2022 alle 23:23:47 UTC+2

Patch 9.0.0337

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0337 Problem:Flicker when resetting cmdline_row after updating the screen. Solution: Do not update cmdline_row. (issue #11017) Files: src/drawscreen.c *** ../vim-9.0.0336/src/drawscreen.c2022-08-29 15:06:46.716715543 +0100 --- src/drawscreen.c2022-08-30

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Gianmaria Bajo
Just my 2 cents. For me it's utterly useless. You lose the messages, even if they show up somewhere else, they would show up in a wrong/more difficult place to read, it would be distracting. For messages, the most natural place is the bottom line. This reason alone would be enough for me

Patch 9.0.0336

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0336 Problem:Tests are flaky because of using a common file name. Solution: Rename files and directories to be more unique. Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim, src/testdir/test_changelist.vim,

Patch 9.0.0335

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0335 Problem:Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009) Files: src/channel.c, src/dict.c, src/errors.h, src/evalfunc.c, src/evalwindow.c, src/list.c, src/map.c,

Patch 9.0.0334

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0334 Problem:Test does not properly clean up. Solution: Fix typo in argument of delete(). (Dominique Pellé, closes #11010) Files: src/testdir/test_vim9_func.vim *** ../vim-9.0.0333/src/testdir/test_vim9_func.vim 2022-08-29 22:31:15.923685244 +0100 ---

Patch 9.0.0333

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0333 (after 9.0.0331) Problem:Method test fails. Solution: Adjust test for items() now working on string. Files: src/testdir/test_method.vim *** ../vim-9.0.0332/src/testdir/test_method.vim 2022-08-30 16:40:42.060873946 +0100 --- src/testdir/test_method.vim 2022-08-30

Patch 9.0.0332

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0332 Problem:Overwrite check may block BufWriteCmd. Solution: Do not use overwrite check when 'buftype' is "acwrite". (closes #11011) Files: src/ex_cmds.c, src/testdir/test_autocmd.vim *** ../vim-9.0.0331/src/ex_cmds.c 2022-08-29 15:06:46.716715543 +0100

Patch 9.0.0331

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0331 Problem:Cannot use items() on a string. Solution: Make items() work on a string. (closes #11016) Files: src/dict.c, src/list.c, src/proto/list.pro, src/evalfunc.c src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim ***

Patch 9.0.0330

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0330 (after 9.0.0327) Problem:Method tests fail. Solution: Adjust for change of items(). Files: src/testdir/test_method.vim *** ../vim-9.0.0329/src/testdir/test_method.vim 2021-05-15 18:54:58.0 +0100 --- src/testdir/test_method.vim 2022-08-30 16:38:41.909202517

Re: Racket filetype support

2022-08-30 Fir de Conversatie D. Ben Knoble
On Tue, Aug 30, 2022 at 10:04 AM D. Ben Knoble wrote: > > On Fri, Aug 26, 2022 at 2:57 PM Bram Moolenaar wrote: > > > Thanks. Mostly OK, but I see that line continuation is used in the > > ftplugin file, therefore the 'cpo' option should be set and restored. > > See other runtime files for

Patch 9.0.0329

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0329 Problem:":highlight" hangs when 'cmdheight' is zero. Solution: Add to msg_col when using the message window. (closes #11014) Files: src/message.c, src/highlight.c *** ../vim-9.0.0328/src/message.c 2022-08-29 18:16:11.578636822 +0100 --- src/message.c

Patch 9.0.0328

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0328 Problem:OLD_DIGRAPHS is unused. Solution: Remove OLD_DIGRAPHS. Also drop HPUX_DIGRAPHS. Files: src/digraph.c, src/feature.h, src/Makefile *** ../vim-9.0.0327/src/digraph.c 2022-08-22 15:19:12.728328961 +0100 --- src/digraph.c 2022-08-30 14:59:49.618274607

Re: Racket filetype support

2022-08-30 Fir de Conversatie D. Ben Knoble
On Fri, Aug 26, 2022 at 2:57 PM Bram Moolenaar wrote: > Thanks. Mostly OK, but I see that line continuation is used in the > ftplugin file, therefore the 'cpo' option should be set and restored. > See other runtime files for examples. Good catch. Will fix. > > The improved ftdetect is not

Re: Anyone building with OLD_DIGRAPHS?

2022-08-30 Fir de Conversatie Bram Moolenaar
I wrote: > > There is a compile-time option to use the old digraphs, instead of > > "modern" ones. And old means really old, they are from Vim 5.x. > > > > I suspect that nobody builds Vim that way. If nobody objects I'll > > remove the dead code. > > No response, thus I'll remove

Re: Anyone building with OLD_DIGRAPHS?

2022-08-30 Fir de Conversatie Bram Moolenaar
I wrote: > There is a compile-time option to use the old digraphs, instead of > "modern" ones. And old means really old, they are from Vim 5.x. > > I suspect that nobody builds Vim that way. If nobody objects I'll > remove the dead code. No response, thus I'll remove OLD_DIGRAPHS. Looking

Patch 9.0.0327

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0327 Problem:items() does not work on a list. (Sergey Vlasov) Solution: Make items() work on a list. (closes #11013) Files: src/dict.c, src/list.c, src/proto/list.pro, src/evalfunc.c, src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim ***

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Bakudankun
At least, with `:set cmdheight=0 laststatus=0 showtabline=0` you can view only the code on the screen. I do neither use that ordinarily, but I think that is valuable. 2022年8月30日火曜日 21:19:57 UTC+9 Bram Moolenaar: > > > > That is exactly the thing. It seems like a nice feature at first, but > > >

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Bram Moolenaar
> > That is exactly the thing. It seems like a nice feature at first, but > > once using it you find out disadvantages. It will be different for > > each user. For me I'm missing the size of the Visual area, I often use > > that to measure the size of text. > > For the modeline problem, you

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Shougo
> That is exactly the thing. It seems like a nice feature at first, but once using it you find out disadvantages. It will be different for each user. For me I'm missing the size of the Visual area, I often use that to measure the size of text. For the modeline problem, you can use the config.

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Bram Moolenaar
> I tried it out and quite liked it initially. though I'm not sure if I > would use it permanently. I think I would miss `showcmd` too much. That is exactly the thing. It seems like a nice feature at first, but once using it you find out disadvantages. It will be different for each user. For

Re: Zero cmdheight

2022-08-30 Fir de Conversatie Shougo
The patch author is here. Of course, I like the feature. The feature means users can customize Vim UI like this. https://www.reddit.com/r/neovim/comments/vc75v7/cmdheight0_vimtpipeline_a_match_made_in_heaven/ Users can replace the command line by plugin like this.

Patch 9.0.0326

2022-08-30 Fir de Conversatie Bram Moolenaar
Patch 9.0.0326 Problem:Some changes for cmdheight=0 are not needed. Solution: Revert resize behavior if height is greater than the available space. (Shougo Matsushita, closes #11008) Files: src/window.c *** ../vim-9.0.0325/src/window.c2022-08-28

Re: Zero cmdheight

2022-08-30 Fir de Conversatie puremo...@gmail.com
I tried it out and quite liked it initially. though I'm not sure if I would use it permanently. I think I would miss `showcmd` too much. That said, I did a quick GitHub search. As many users put their vimrc in GitHub we can search for it. This probably covers only users that either tried the

Re: Redraw when cmdheight is 0

2022-08-30 Fir de Conversatie Egor Zvorykin
I tried the fix you pushed and it looks great, thanks. понедельник, 29 августа 2022 г. в 14:30:49 UTC+3, Bram Moolenaar: > > > I use search a lot. If I use cmdheight=0 the search triggers a command > line > > to appear, but when I press enter and the command line disappears there > is > > a