emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter
https://emacs-tree-sitter.github.io
MIT License
827 stars 74 forks source link

Colors look wrong in haskell mode. #251

Open amano-kenji opened 1 year ago

amano-kenji commented 1 year ago

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.

sogaiu commented 1 year ago

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

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

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.