idanarye / vim-dutyl

Coordinate D tools to work together for you
http://www.vim.org/scripts/script.php?script_id=5003
79 stars 13 forks source link

Syntax highlight for dub SDLang and dmd coverage (.lst). #14

Closed joakim-brannstrom closed 9 years ago

joakim-brannstrom commented 9 years ago

Only basic support for coverage highlighting to easier find parts not covered. The last line that shows the statistic is a bit more enhanced with different colors depending on statistic. I chose the intervals (not scientifically based, just an opinion. Hope it is good enough):

The highlighting for SDLang is mostly derived from c.vim. I chose to mark the package information with a different color from the "functional". I also tried to use the structural support for keywords that are "blocks" like configuration.

To make the colors work with different color schema I chose to reuse existing colors.

idanarye commented 9 years ago

Sorry, but this is out of the scope of this plugin. Dutyl deals with tool integration, not with syntax highlighting. The d.vim plugin has the syntax highlighting - try PRing there.

joakim-brannstrom commented 9 years ago

Ahhh, I didn't know. Thank you for suggesting the project to do a PR to.