[Feature] Rename lv-config.lua to config.lua (#1193)

* Rename example config files

* Update user config path in installer

* Update user config path with a variable

* Update default user config file to config.lua

* Add fallback to lv-config if config.lua not found

* Add global variable USER_CONFIG_PATH
This commit is contained in:
chaeing 2021-07-31 11:28:59 -07:00 committed by GitHub
parent 2badb25f36
commit 213e3961fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 53 additions and 34 deletions

View file

@ -81,7 +81,7 @@ end
function utils.reload_lv_config()
vim.cmd "source ~/.local/share/lunarvim/lvim/lua/settings.lua"
vim.cmd "source ~/.config/lvim/lv-config.lua"
vim.cmd("source " .. USER_CONFIG_PATH)
vim.cmd "source ~/.local/share/lunarvim/lvim/lua/plugins.lua"
local plugins = require "plugins"
local plugin_loader = require("plugin-loader").init()