emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter

Home Page:https://emacs-tree-sitter.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colors look wrong in haskell mode.

amano-kenji opened this issue · comments

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.

commented

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?

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.

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.