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:
ItsDrike 2021-12-07 22:13:59 +01:00
parent 9c8191bfa7
commit 7bfad9cb09
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -32,6 +32,10 @@ augroup coloroverride
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
o.termguicolors = os.getenv("DISPLAY") and true or false