diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:04:59 +0200 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:04:59 +0200 |
| commit | 6dcd88cde5825573a3732e8b18f7d663ca47495b (patch) | |
| tree | 10edd9981f7d26afa0dd86ad7fa8e1c37db34e5b /fnl/plugins/editor/alpha.fnl | |
| parent | cc8adce9d8a7dd63bc639b3e2d3e71d82ee1713f (diff) | |
Rename setup to config
Diffstat (limited to 'fnl/plugins/editor/alpha.fnl')
| -rw-r--r-- | fnl/plugins/editor/alpha.fnl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fnl/plugins/editor/alpha.fnl b/fnl/plugins/editor/alpha.fnl index c9dce50..c933a99 100644 --- a/fnl/plugins/editor/alpha.fnl +++ b/fnl/plugins/editor/alpha.fnl @@ -21,7 +21,7 @@ " ..... " " . "]) -(fn setup [] +(fn config [] (let [alpha (require :alpha)] (let [dashboard (require :alpha.themes.dashboard)] (set dashboard.section.header.val ascii-art) @@ -30,9 +30,12 @@ ":Telescope find_files theme=dropdown<CR>") (dashboard.button :g (.. (. icons :search-text) " Find text") ":Telescope live_grep theme=dropdown<CR>") - (dashboard.button :p (.. (. icons :search-project) " Find project") + (dashboard.button :p + (.. (. icons :search-project) " Find project") ":Telescope projects theme=dropdown<CR>") - (dashboard.button :r (.. (. icons :recent-files) " Recently used files") + (dashboard.button :r + (.. (. icons :recent-files) + " Recently used files") ":Telescope oldfiles theme=dropdown<CR>") (dashboard.button :t (.. (. icons :cog) " Configuration") ":e ~/.config/nvim/init.lua <CR>") @@ -43,7 +46,4 @@ (set dashboard.opts.opts.noautocmd true) (alpha.setup dashboard.opts)))) -{1 :goolord/alpha-nvim - :event :VimEnter - :config (fn [] - (setup))} +{1 :goolord/alpha-nvim :event :VimEnter : config} |