diff options
author | Amandus SΓΈve Thorsrud <[email protected]> | 2021-05-26 01:08:15 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-25 19:08:15 -0400 |
commit | 74ffae99d44ef8ed27df63ae0bf39c0dfe71ef99 (patch) | |
tree | 2d562a46849d6d683f5d3f9597a213005183b4a8 /lua/lv-dashboard/init.lua | |
parent | 046d3e79a9dc8689175c0ecbd565ca423dde7b04 (diff) |
Support different config paths (#426)
This makes the configuration files work if neovim's config path is different from `~/.config/nvim`.
Diffstat (limited to 'lua/lv-dashboard/init.lua')
-rw-r--r-- | lua/lv-dashboard/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lv-dashboard/init.lua b/lua/lv-dashboard/init.lua index 4bd706f3..6a57efe8 100644 --- a/lua/lv-dashboard/init.lua +++ b/lua/lv-dashboard/init.lua @@ -26,7 +26,7 @@ vim.g.dashboard_custom_section = { b = {description = {'ο
Recently Used Files'}, command = 'Telescope oldfiles'}, c = {description = {'ο€ Load Last Session '}, command = 'SessionLoad'}, d = {description = {'ο Find Word '}, command = 'Telescope live_grep'}, - e = {description = {'ξ Settings '}, command = ':e ~/.config/nvim/lv-settings.lua'} + e = {description = {'ξ Settings '}, command = ':e '..CONFIG_PATH..'/lv-settings.lua'} -- e = {description = {'ο Marks '}, command = 'Telescope marks'} } @@ -41,5 +41,5 @@ vim.g.dashboard_custom_section = { -- } -- find_history = 'SPC f h', --- vim.g.dashboard_session_directory = '~/.cache/nvim/session' +-- vim.g.dashboard_session_directory = CACHE_PATH..'/session' vim.g.dashboard_custom_footer = O.dashboard.footer |