savq / melange-nvim

🗡️ Warm color scheme for Neovim and beyond
MIT License
719 stars 55 forks source link

Add support for nvim-tree.lua #34

Closed jiyometrik closed 1 year ago

jiyometrik commented 2 years ago

i noticed that the melange colors are weird in nvim tree when it is loaded in init.lua using

vim.cmd('colorscheme melange')

loaded in init.lua image

loaded after init using :colorscheme melange image

can this be solved?

savq commented 2 years ago

Reading the nvim-tree.lua docs:

Syntax highlighting uses g:terminalcolor from colorschemes, fallbacks to ugly colors otherwise.

So the problem is likely that melange doesn't set these variables explicitly.