diff options
author | Christian Chiarulli <[email protected]> | 2021-07-19 22:50:07 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-19 22:50:07 -0400 |
commit | d02265175f33fb1586e5e1f080e0730c8642a961 (patch) | |
tree | 74edc2e46da039ab2c04c96d0198a8a30a4ca217 /init.lua | |
parent | acb6a7a2cedcb758db912cc4c9c8afdae7c11840 (diff) |
Decoupling config from nvim (#1038)
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,17 @@ +vim.cmd [[ + set packpath-=~/.config/nvim + set packpath-=~/.config/nvim/after + set packpath-=~/.local/share/nvim/site + set packpath^=~/.local/share/lunarvim/site + set packpath^=~/.config/lvim + + set runtimepath-=~/.config/nvim + set runtimepath-=~/.config/nvim/after + set runtimepath^=~/.config/lvim +]] +-- vim.opt.rtp:append() instead of vim.cmd ? require "default-config" -local status_ok, error = pcall(vim.cmd, "luafile " .. CONFIG_PATH .. "/lv-config.lua") +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) |