diff options
author | rebuilt <[email protected]> | 2021-07-27 00:28:47 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-26 18:28:47 -0400 |
commit | 9028294360f364d77f6332266e06ca61346fa701 (patch) | |
tree | 2689089e645d89f86762cc73d0c201fedc0d8d76 /init.lua | |
parent | ec21ed62cb45a423bfa12b591498e7b9ecfb11e6 (diff) |
splits up the settings file. settings.lua gets required before lv-co… (#1097)
* split settings into callable functions
* renamed functions
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,12 +12,13 @@ vim.cmd [[ ]] -- vim.opt.rtp:append() instead of vim.cmd ? require "default-config" -require "settings" +require("settings").load_options() local status_ok, error = pcall(vim.cmd, "luafile ~/.config/lvim/lv-config.lua") if not status_ok then print "something is wrong with your lv-config" print(error) end +require("settings").load_commands() require("core.autocmds").define_augroups(lvim.autocommands) require "keymappings" |