rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.
MIT License
1.44k stars 47 forks source link

Compile option to mirror gui to cterm #75

Closed mcchrish closed 2 years ago

mcchrish commented 2 years ago

Turns out termguicolors are not the same in Vim and Neovim. https://github.com/vim/vim/issues/1740 Neovim uses gui while Vim uses cterm.

Solution: add an option to just copy the gui value to cterm on compile. Something like copy_cterm_from_gui = true. Default to false.

mcchrish commented 2 years ago

PR: https://github.com/rktjmp/lush.nvim/pull/76

rktjmp commented 2 years ago

https://github.com/rktjmp/lush.nvim/blob/main/lua/shipwright/transform/lush/vim_compatible_vimscript.lua