mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-02 00:56:02 +02:00
Support different config paths (#426)
This makes the configuration files work if neovim's config path is different from `~/.config/nvim`.
This commit is contained in:
parent
046d3e79a9
commit
74ffae99d4
7 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue