diff options
| author | Luc Sinet <[email protected]> | 2021-07-18 20:08:14 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-18 18:08:14 +0000 | 
| commit | 6f9c521e227b1c4d3741cb73ee0a9598be73ef10 (patch) | |
| tree | d98676a19a41ba7c3d989b6b3d6cd8a42104809f /init.lua | |
| parent | 56f17cebd4520e37c4c8a96e96e008bb5870178b (diff) | |
Split plugin loading logic from the configuration (#796)
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 7 | 
1 files changed, 6 insertions, 1 deletions
@@ -4,9 +4,14 @@ if not status_ok then    print "something is wrong with your lv-config"    print(error)  end +  require "keymappings" -require "plugins" + +local plugins = require "plugins" +local plugin_loader = require("plugin-loader").init() +plugin_loader:load { plugins, O.user_plugins }  vim.g.colors_name = O.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs. +  require "settings"  require "lv-utils"  | 
