Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors look wrong in haskell mode. #251

Open
amano-kenji opened this issue Feb 15, 2023 · 3 comments
Open

Colors look wrong in haskell mode. #251

amano-kenji opened this issue Feb 15, 2023 · 3 comments
Labels
unexplored Need more research

Comments

@amano-kenji
Copy link

amano-kenji commented Feb 15, 2023

2023-02-16 08:22:25

On the left is emacs. On the right is neovim.

Neovim treesitter colors look correct. Emacs treesitter colors look wrong.

In particular, the dark blue color in emacs decreases readability significantly. Neovim colors are very readable.

Both emacs and neovim use gruvbox color theme.

@shackra shackra added the unexplored Need more research label Feb 15, 2023
@sogaiu
Copy link
Contributor

sogaiu commented Feb 16, 2023

For reference, the queries for highlighting on the lastet commits for tree-sitter-langs and nvim-treesitter are currently:

From a brief examination, though there are similarities between the files, I do see differences.

Not sure what "wrong" and "correct" mean here. May be it's possible to be more specific using terms from the aforementioned files?

@amano-kenji
Copy link
Author

amano-kenji commented Feb 16, 2023

I use https://github.com/ellisonleao/gruvbox.nvim on neovim. It seems https://github.com/ellisonleao/gruvbox.nvim supports tree sitter.

I don't think emacs gruvbox theme explicitly supports tree sitter.

May be it's possible to be more specific using terms from the aforementioned files?

I don't understand those files.

@amano-kenji
Copy link
Author

Not sure what "wrong" and "correct" mean here.

Wrong means dark blue colors that decrease readability significantly to the point where I had to disable treesitter in haskell mode.

Right means bright colors that increase readability on neovim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unexplored Need more research
Projects
None yet
Development

No branches or pull requests

3 participants