5 ms·
I totally agree with this, and use `:syntax off`, but comments really mess with visual clarity. For dimmed comments, I sometimes switch to nofrils. https://www
by aratno 10y ago
I totally agree with this, and use `:syntax off`, but comments really mess with visual clarity. For dimmed comments, I sometimes switch to nofrils.
https://www.robertmelton.com/2016/04/10/syntax-highlighting-off/ https://www.robertmelton.com/2016/04/10/syntax-highlighting-...
- dudzik 10y agoOP here Great addition. For me this is a use case for conditional highlighting. What I do in my code additionally is to avoid block comments. So you can differentiate them better from your code.
- mseepgood 10y agoComments are the most important part of code. They should not be dimmed. If anything, they should be the only thing that is highlighted.
- dudzik 10y agoI think that this is dependent on what you are trying to do. If you want to understand what a program does than this is the way to go. If you want to program than you don't necessarily need the comments to be that visible.
- aratno 10y agoI'm arguing that dimming them makes them easier to see. Code and comments are interspersed, and are each harder to see when they're the same color.
- majewsky 10y agoI use a slightly more intense background color on comments to make them stand out while still being readable enough.
- enneff 10y agoMy highlighting scheme is to very slightly dim comments, because they tend to be more dense than code. For example: http://imgur.com/a/bxfBO http://imgur.com/a/bxfBO
- akkartik 10y agohttps://news.ycombinator.com/item?id=12051032 https://news.ycombinator.com/item?id=12051032