Colorscheme needs to be set after plugins have been installed (#556)

This commit is contained in:
rebuilt 2021-06-30 15:47:11 +02:00 committed by GitHub
parent 96ffccc3e3
commit 0cecc1669d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -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')

2
lua/colorscheme.lua Normal file
View file

@ -0,0 +1,2 @@
-- TODO is there a lua native way to do this?
vim.cmd('colorscheme ' .. O.colorscheme)

View file

@ -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