dart-vim-plugin icon indicating copy to clipboard operation
dart-vim-plugin copied to clipboard

final keyword syntax highlight should be different than type highlight

Open Chaitanyabsprip opened this issue 3 years ago • 7 comments

image

Chaitanyabsprip avatar Dec 12 '20 04:12 Chaitanyabsprip

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

Kavantix avatar Feb 08 '21 11:02 Kavantix

I was using ayu at the time.

Chaitanyabsprip avatar Feb 08 '21 16:02 Chaitanyabsprip

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

Kavantix avatar Feb 08 '21 16:02 Kavantix

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.

Chaitanyabsprip avatar Feb 08 '21 18:02 Chaitanyabsprip

+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

imambungo avatar Feb 02 '22 17:02 imambungo

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.

AdrienLemaire avatar Jul 28 '22 15:07 AdrienLemaire

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

I wish these hints would be in gray too.

AdrienLemaire avatar Apr 30 '23 14:04 AdrienLemaire