summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebuilt <[email protected]>2021-06-30 15:47:11 +0200
committerGitHub <[email protected]>2021-06-30 09:47:11 -0400
commit0cecc1669d2b692b2bf22d01bc611f91f56545a7 (patch)
treee510435b8f47cc9fc45944d2f4b6bfc49a2ac841
parent96ffccc3e37cb123aecc2ae26276665986b7abbf (diff)
Colorscheme needs to be set after plugins have been installed (#556)
-rw-r--r--init.lua1
-rw-r--r--lua/colorscheme.lua2
-rw-r--r--lv-config.lua2
3 files changed, 3 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index aebd2a80..ba726210 100644
--- a/init.lua
+++ b/init.lua
@@ -2,6 +2,7 @@ require('default-config')
vim.cmd('luafile ' .. CONFIG_PATH .. '/lv-config.lua')
require('settings')
require('plugins')
+require('colorscheme')
require('lv-utils')
require('lv-autocommands')
require('keymappings')
diff --git a/lua/colorscheme.lua b/lua/colorscheme.lua
new file mode 100644
index 00000000..789363d8
--- /dev/null
+++ b/lua/colorscheme.lua
@@ -0,0 +1,2 @@
+-- TODO is there a lua native way to do this?
+vim.cmd('colorscheme ' .. O.colorscheme)
diff --git a/lv-config.lua b/lv-config.lua
index e14ae59e..43408208 100644
--- a/lv-config.lua
+++ b/lv-config.lua
@@ -9,8 +9,6 @@ an executable
-- general
O.auto_complete = true
O.colorscheme = 'lunar'
--- TODO is there a lua native way to do this?
-vim.cmd('colorscheme ' .. O.colorscheme)
O.auto_close_tree = 0
O.wrap_lines = false
O.timeoutlen = 100