mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Set the colorscheme to default in theme
- We want to do this to activate the autocommands which modify certain highlight styles. This colorscheme will be set to the proper one from the plugin configuration anyway, which will override this, but in case that plugin is no longer desired, we want to have some default there.
This commit is contained in:
parent
9c8191bfa7
commit
7bfad9cb09
|
@ -32,6 +32,10 @@ augroup coloroverride
|
||||||
augroup END
|
augroup END
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- Set the colorscheme to default to trigger the above autocmds
|
||||||
|
-- This can be overridden from plugin definitions as this file is ran before those
|
||||||
|
cmd[[colorscheme default]]
|
||||||
|
|
||||||
-- Don't use true colors in TTY
|
-- Don't use true colors in TTY
|
||||||
o.termguicolors = os.getenv("DISPLAY") and true or false
|
o.termguicolors = os.getenv("DISPLAY") and true or false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue