summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorKyle Stubblefield <[email protected]>2021-05-18 08:36:33 -0700
committerGitHub <[email protected]>2021-05-18 11:36:33 -0400
commit946dc0c1dd65746195bafc2a61ea9dfe7fd2505e (patch)
treeb2fb2e4a787c92d57ad6c9e63e24ab3268002e65 /init.lua
parent22ffb0eb03b947c6cce30d9836568e8af7565c33 (diff)
moved the including of lv-settings to above the settings so local settings configured in lv-settings can override the globals that get loaded in settings, 0.relative_number for example (#396)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 46861c6d..97f4bd28 100644
--- a/init.lua
+++ b/init.lua
@@ -1,12 +1,12 @@
require('lv-globals')
+vim.cmd('luafile ~/.config/nvim/lv-settings.lua')
require('settings')
require('plugins')
require('lv-utils')
require('lv-autocommands')
-vim.cmd('luafile ~/.config/nvim/lv-settings.lua')
require('keymappings')
require('lv-nvimtree') -- This plugin must be required somewhere before colorscheme. Placing it after will break navigation keymappings
-require('colorscheme') -- This plugin must be required somewhere after nvimtree. Placing it before will break navigation keymappings
+require('colorscheme') -- This plugin must be required somewhere after nvimtree. Placing it before will break navigation keymappings
require('lv-galaxyline')
require('lv-comment')
require('lv-compe')