junegunn / limelight.vim

:flashlight: All the world's indeed a stage and we are merely players
MIT License
2.36k stars 53 forks source link

Option to use limelight only for comments? #51

Open karoliskoncevicius opened 6 years ago

karoliskoncevicius commented 6 years ago

Just found this plugin and it struck me that the idea would be very useful in highlighting comments when the cursor hovers them. I typically work with very dark comments and when trying to read them I simply turn on the visual selection.

Would it be possible to make this plugin temporarily brighten the comment block when the cursor is on it? Or would this functionality be better implemented elsewhere?

alerque commented 6 years ago

You might also experiment with set cursorline and various CursorLine highlighting colors, that might solve your comment problem by forcing a different foreground color for the current line.