dart-lang/dart-vim-plugin

final keyword syntax highlight should be different than type highlight

Chaitanyabsprip opened this issue · 7 comments

Which theme are you using because this might be cause by the theme you are using, which perhaps does not support dart yet

I was using ayu at the time.

So I guess you switched?
Does it work with your current theme?

it does work with my current theme, I am using horizon. But the highlighting part is done by treesitter as I am on development version of neovim.

+1, class should have a unique color.

1 color for class, 1 color for function, 1 for string, white or default color for property. I don't care about the others.

Currently keywords like late, const, final, class, extends, @override have the same color as class.

I rather have all other keywords have the same color than the class color mixed with some keywords.

Good lord have mercy:
image

I'm getting the same syntax coloration as @imambungo using base16-tomorrow-night.

Thanks @Chaitanyabsprip for the tip, I uninstalled dart-vim-plugin to use coc-flutter with nvim-treesitter, and it looks better.

I still have syntax coloration issues for type hints at the end of lines

I wish these hints would be in gray too.