0

Would be nice to color the single column just left of the beginning of the line, but I don't think it has a group name like CursorLine. Anyone have any ideas? Maybe some simple macro would do, using colorcolumn, but I'm not sure where to start.

Thanks in advance.

  • perhaps signcolumn? :h sign :h signcolumn – DoYouEvenCodeBro Jul 12 '16 at 19:50
  • 1
    Are you talking about highlighting indentation? I made a plugin for that if that's what you're asking. – Tommy A Jul 12 '16 at 19:52
  • I was talking about the column left of position 0, but right of the right-aligned line numbering when set nu is used. it is a whitespace column – Luke Davis Jul 12 '16 at 20:09
  • Would highlight LineNr termbg=gray be enough? That sets the highlight for the all the set nu columns. – grochmal Jul 12 '16 at 20:36
  • 4
    Ah I see what you mean now. You want a visible margin between the line numbers and the text. That's part of the LineNr highlight group and you can't color that single column independently. – Tommy A Jul 12 '16 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.