fix: no restart required when changing colorscheme (#2026)

This commit is contained in:
kylo252 2021-12-03 18:56:31 +01:00 committed by GitHub
parent b6d1aa8a31
commit fe95dffe41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -15,9 +15,6 @@ require("lvim.plugin-loader").load { plugins, lvim.plugins }
local Log = require "lvim.core.log"
Log:debug "Starting LunarVim"
vim.g.colors_name = lvim.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
vim.cmd("colorscheme " .. lvim.colorscheme)
local commands = require "lvim.core.commands"
commands.load(commands.defaults)