lasse16 / dotfiles

These are my dotfiles, including a basic setup and disable script.
2 stars 0 forks source link

Add highlighting scheme for tree-sitter #5

Closed lasse16 closed 2 years ago

lasse16 commented 3 years ago

Check #2 Currently tree-sitter uses the default scheme. Once #4 is implemented, it should be adapted to tree-sitter, too.

The place to start at, is in .tree-sitter/config.json. There is a theme section.

lasse16 commented 3 years ago

Partly covered in #7 . I am however not super happy with the appearance of the highlighting, so I'm going to leave this issue open, until my custom theme is improved.

lasse16 commented 2 years ago

Update: My theme setup is decent. However, I recently enabled 24bit ( true-color) support in Neovim and therefore it started highlighting in not specified colors. It ignores the colors set by my terminal emulator and instead matches an arbitrary color definition by Neovim.

My guess is that these values are hardcoded by Neovim as every terminal with true-color support should be able to emulate the ssame colors. The solution to Neovim using arbitrary values when using named colors, is to not use named colors and instead hardcode the color scheme via hex-codes inside my updated color scheme.

Need to investigate further, and/or ask the Neovim team.