question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Active linenumber colour highlighting property - and vim relative numbering highlights

See original GitHub issue

Describe what you want I would like to have the ability to use/set the "editorLineNumber.activeForeground": "#fffff" property. This would be exceptionally useful for vim mode users with relative line numbering which is a key part of the workflow for many.

The expected outcome would be that the current line and highlighting of the theme allows for default or user-selected highlight colour that differentiates from the other lines of the file and their respective line numbering.

Additional context attached a screenshot showing the relative numbering setup and hopefully, it demonstrates why the highlighting would be useful.

An even further incredible addition/extension to above would be to be able to highlight the tenth line either side with a different colour too. Or all multiples of ten thereafter, as an additional visual/cognitive easing. But it’s probably most useful to people with a relative line numbering setup so may not be as mainstream as the first part of the request for the current line number highlight. onedarkprolines

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Binaryifycommented, Nov 25, 2020

will fix it soon~

1reaction
irisidacommented, Nov 25, 2020

I hadn’t no. I have now and hey presto! It’s even more fabulous than I’d hoped.

Thank you! (starred the repo. You people are all kinds of awesome)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vim Configure Line Number Coloring - Stack Overflow
This would change the foreground colour for LineNr on a character terminal to grey. ... highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE ...
Read more >
Relative line number colouring - Vi and Vim Stack Exchange
Personally I just use set cursorline and have both 'number' and 'relativenumber' enabled and find that that nicely sets the cursor line +...
Read more >
Vim's absolute, relative and hybrid line numbers
Vim's regular line numbers number lines absolutely, relative numbers are relative to the current line and “hybrid” numbers combine both.
Read more >
Display line numbers - Vim Tips Wiki - Fandom
It is sometimes useful to display line numbers in the left margin, for reference. Or to display current line/column in the status line,...
Read more >
Vim - How do I change the color of the line numbers displayed ...
The line numbers displayed use the LineNr highlighting group. To display the current ... To change the color modify the LineNr highlight group....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found