Closed mvhulten closed 3 years ago
This plugin does not provide a color scheme, it provides syntax rules. In the VIM world those are two different things. The syntax parses the content and tags it with (somewhat) standardized group names. A color scheme then defines colors for those groups.
If you don't like the colors you are seeing you should find and set a :colorscheme
to your taste. Whether comments are blue or brown or grey or pink is up to to the color scheme.
Just a note on comments however, there are two different groups being defined for ledger files because the comments are functionally different. One set (light blue in your scheme) are just comments, the ones you are seeing as brown are transaction comments and are actually parsed and used for things like transaction tags, hence putting them in two different syntax groups is appropriate. You are welcome to color both the same, but the two groupings give people the option to draw them differently.
Meanwhile the account names hat you are seeing in light blue are also a different group from the top level comments, so your color scheme is doing you a disservice by showing them in the same color.
My personal favorite is @justinmk's take on Molokai, but there are hundreds out there and even plugins that make it easy to come up with your own schemes such as lush.
Thank you for the quick response and good explanation.
The colorscheme molokai
is beautiful. I found the scheme delek
also works very well but uses softer colours and is already part of my default Vim installation.
The colours of the syntax highlighting look suboptimal to me. Of course, this is subjective, but it could also be unintended and hence a bug.
I like the brown for the comments, but light-blue is maybe more common for comments, so I propose to make the EOL comments light-blue, just like the full-line comments. Furthermore, I propose to simply use the standard color (grey in my terminal) for the account strings.
I am using the as of writing most recent commit
532979346087c029badd02c9605a4efa84ac032a
.