dart-lang / dart-vim-plugin

Syntax highlighting for Dart in Vim
BSD 3-Clause "New" or "Revised" License
636 stars 55 forks source link

final keyword syntax highlight should be different than type highlight #116

Open Chaitanyabsprip opened 3 years ago

Chaitanyabsprip commented 3 years ago

image

Kavantix commented 3 years ago

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

Chaitanyabsprip commented 3 years ago

I was using ayu at the time.

Kavantix commented 3 years ago

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

Chaitanyabsprip commented 3 years ago

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.

imambungo commented 2 years ago

+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

AdrienLemaire commented 2 years ago

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 commented 1 year ago

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

I wish these hints would be in gray too.