goolord / alpha-nvim

a lua powered greeter like vim-startify / dashboard-nvim
MIT License
1.78k stars 104 forks source link

fix: store alpha configuration to a user accessible variable #176

Closed mehalter closed 1 year ago

mehalter commented 1 year ago

Proposed fix for the alpha.start command. This exposes the configuration from the setup call as require("alpha").config. This way you can call it with something like

require("alpha").start(true, require("alpha").config)
require("alpha").start(false, require("alpha").config)

Resolves #175

goolord commented 1 year ago

@mehalter changed 'config' to 'default_config' , hope that's ok