nvim/init.early: move &background, &termguicolors into early
As many plugins use these when setting colors and highlights, leading to poor coloring now that truecolor support is fixed in tmux
This commit is contained in:
parent
d6827a4fe5
commit
ee4fac3834
|
@ -10,6 +10,10 @@ local function psoxizsh_early_config()
|
|||
g.my_color_scheme = 'one'
|
||||
end
|
||||
|
||||
-- Color settings
|
||||
o.background = 'dark'
|
||||
o.termguicolors = true
|
||||
|
||||
-- Hide buffers don't close them
|
||||
o.hidden = true
|
||||
|
||||
|
@ -172,8 +176,6 @@ local function psoxizsh_post_config(plugs)
|
|||
-- Reload configuration
|
||||
vimp.nnoremap('<leader>vs', function() vimp.unmap_all() plugs:reload() end)
|
||||
|
||||
o.background = 'dark'
|
||||
o.termguicolors = true
|
||||
g.one_allow_italics = 1
|
||||
cmd('highlight Comment term=italic cterm=italic gui=italic')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue