[proposal] new 'cursorlinenr' option

2015-03-20 Thread Ozaki Kiichi
Hi. I propose a new option 'cursorlinenr' to enable highlighting the line number of cursor. [motive] I think that the present spec, applying hl-CursorLineNr depends on 'cursorline' or 'relativenumber', isn't much convenient. [spec] 'cursorlinenr' 'culn' boolean (default unset(-1))

Re: [proposal] new 'cursorlinenr' option

2019-07-17 Thread Ozaki Kiichi
https://github.com/vim/vim/pull/4693 -- -- 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 because you are subscribed to the Goo

Re: [proposal] new 'cursorlinenr' option

2015-07-18 Thread Ozaki Kiichi
I updated the patch; add syntax.vim changes https://gist.github.com/ichizok/8d016c1e4c791499d092 -- -- 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 --- Yo

Re: [proposal] new 'cursorlinenr' option

2016-11-26 Thread Ozaki Kiichi
I updated; changed type of 'cursorlinenr' to number. https://gist.github.com/ichizok/8d016c1e4c791499d092 And added test. https://gist.github.com/ichizok/aa54ecfe8aa7c94ce6711b940de16453 * which requires https://groups.google.com/forum/#!topic/vim_dev/tzNKP7EDWYI -- -- You received this mess

Re: [proposal] new 'cursorlinenr' option

2016-11-27 Thread Gary Johnson
On 2016-11-26, Ozaki Kiichi wrote: > I updated; changed type of 'cursorlinenr' to number. > > https://gist.github.com/ichizok/8d016c1e4c791499d092 >From your description, this option behaves like a boolean. Why would you use the numerical values 1 and -1 instead? Regards, Gary -- -- You rece

Re: [proposal] new 'cursorlinenr' option

2016-11-28 Thread Ozaki Kiichi
> From your description, this option behaves like a boolean. Why > would you use the numerical values 1 and -1 instead? Sorry for lack of a description about 'cursorlinenr=0'. I have fixed it. That is, 'cursorlinenr' is set to: 1: highlighting the line number 0: no highlighting -1: highlighting

Re: [proposal] new 'cursorlinenr' option

2016-11-28 Thread Bram Moolenaar
Ozaki Kiichi wrote: > > From your description, this option behaves like a boolean. Why > > would you use the numerical values 1 and -1 instead? > > Sorry for lack of a description about 'cursorlinenr=0'. I have fixed it. > > That is, 'cursorlinenr' is set to: > > 1: highlighting the line numb

Re: [proposal] new 'cursorlinenr' option

2016-11-28 Thread Gary Johnson
On 2016-11-28, Bram Moolenaar wrote: > Ozaki Kiichi wrote: > > > > From your description, this option behaves like a boolean. Why > > > would you use the numerical values 1 and -1 instead? > > > > Sorry for lack of a description about 'cursorlinenr=0'. I have fixed it. > > > > That is, 'cursorl

Re: [proposal] new 'cursorlinenr' option

2016-11-29 Thread Ozaki Kiichi
> Using the magic numbers is hard to understand. New options are probably > better done with string values, such as "on", "off", and empty for not > set. Perhaps in this case "number", "line" and "both"? But then naming > it 'cursorlineopt' would be better. I have tried making out 'cursorlineop

Re: [proposal] new 'cursorlinenr' option

2016-11-30 Thread Ozaki Kiichi
I updated patches. Change: test_cursorline.vim requires only view.vim of https://groups.google.com/forum/#!topic/vim_dev/tzNKP7EDWYI . -- -- 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 h