diff options
Diffstat (limited to 'lua/core/dashboard.lua')
| -rw-r--r-- | lua/core/dashboard.lua | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lua/core/dashboard.lua b/lua/core/dashboard.lua index 63ae7294..c76d55c9 100644 --- a/lua/core/dashboard.lua +++ b/lua/core/dashboard.lua @@ -1,7 +1,9 @@  local M = {} +  M.config = function()    lvim.builtin.dashboard = {      active = false, +    on_config_done = nil,      search_handler = "telescope",      disable_at_vim_enter = 0,      session_directory = os.getenv "HOME" .. "/.cache/lvim/sessions", @@ -91,6 +93,10 @@ M.setup = function()        { "FileType", "dashboard", "nnoremap <silent> <buffer> q :q<CR>" },      },    } + +  if lvim.builtin.dashboard.on_config_done then +    lvim.builtin.dashboard.on_config_done() +  end  end  return M | 
