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))
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
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
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
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
> 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
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
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
> 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
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
10 matches
Mail list logo