From 0cecc1669d2b692b2bf22d01bc611f91f56545a7 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Wed, 30 Jun 2021 15:47:11 +0200 Subject: Colorscheme needs to be set after plugins have been installed (#556) --- init.lua | 1 + lua/colorscheme.lua | 2 ++ lv-config.lua | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 lua/colorscheme.lua 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 -- cgit v1.2.3