跳到主要内容
版本:1.2

Colorscheme

Switching colors

To switch color schemes on the fly, type the following command:

:Telescope colorscheme

You can also press Space s p to cycle through colorschemes with a preview.

To change the color scheme permanently, modify config.lua

lvim.colorscheme = 'desert'

Installing colorschemes

You can add any colorscheme you like. Just add a plugin with the colorscheme of your choice. For more information on installing plugins look here.

This is a list of colorschemes with tree-sitter support

Transparent Windows

If you're using transparent windows enable this setting

lvim.transparent_window = true

That enables the following settings

cmd "au ColorScheme * hi Normal ctermbg=none guibg=none"
cmd "au ColorScheme * hi SignColumn ctermbg=none guibg=none"
cmd "au ColorScheme * hi NormalNC ctermbg=none guibg=none"
cmd "au ColorScheme * hi MsgArea ctermbg=none guibg=none"
cmd "au ColorScheme * hi TelescopeBorder ctermbg=none guibg=none"
cmd "au ColorScheme * hi NvimTreeNormal ctermbg=none guibg=none"
cmd "let &fcs='eob: '"