diff options
author | Francisco Suárez <[email protected]> | 2021-05-04 21:02:55 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-04 22:02:55 -0400 |
commit | db2b17be723483c6406234e4017ade9b772a9bbf (patch) | |
tree | 403aac3a675014a7f66c56828c31eab4ca3f5547 /lua/lv-dashboard/init.lua | |
parent | d4a3e948a002635343e5e70813257da9046d3405 (diff) |
✨ Change dashboard header and footer by user (#363)
* :sparkles: ability to change dashboard header and footer.
* :sparkles: lv-settings adapted.
* comment to keep original one by default.
Diffstat (limited to 'lua/lv-dashboard/init.lua')
-rw-r--r-- | lua/lv-dashboard/init.lua | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lua/lv-dashboard/init.lua b/lua/lv-dashboard/init.lua index c6ed0b5d..4bd706f3 100644 --- a/lua/lv-dashboard/init.lua +++ b/lua/lv-dashboard/init.lua @@ -17,17 +17,7 @@ -- -- } -vim.g.dashboard_custom_header = { - -' _..._ ', -' .\' (_`. _ __ ___ ', -' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ', -' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ', -' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |', -' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|', - -} - +vim.g.dashboard_custom_header = O.dashboard.custom_header vim.g.dashboard_default_executive = 'telescope' @@ -52,4 +42,4 @@ vim.g.dashboard_custom_section = { -- find_history = 'SPC f h', -- vim.g.dashboard_session_directory = '~/.cache/nvim/session' -vim.g.dashboard_custom_footer = {'chrisatmachine.com'} +vim.g.dashboard_custom_footer = O.dashboard.footer |