summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-24 00:28:42 +0200
committeraktersnurra <grydholm@kth.se>2022-04-24 00:28:42 +0200
commit1de6cd1dcf25f39a7cfc59ba4aef622e610b48dc (patch)
tree6d2530feb9d2cb9135796e0f48d636afb8015665 /fnl/config
parentbcc9a4dcf2a462cf5ef6f854511783c981f011f9 (diff)
fix(alpha): remove do
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/alpha.fnl33
1 files changed, 16 insertions, 17 deletions
diff --git a/fnl/config/alpha.fnl b/fnl/config/alpha.fnl
index 4fb51ec..7d9ba81 100644
--- a/fnl/config/alpha.fnl
+++ b/fnl/config/alpha.fnl
@@ -22,20 +22,19 @@
(let [alpha (util.load-plugin :alpha)]
(let [dashboard (require :alpha.themes.dashboard)]
- (do
- (set dashboard.section.header.val ascii-art)
- (set dashboard.section.buttons.val
- [(dashboard.button :f " Find file"
- ":Telescope file_browser <CR>")
- (dashboard.button :e " New file" ":ene <BAR> startinsert <CR>")
- (dashboard.button :p " Find project" ":Telescope projects <CR>")
- (dashboard.button :r " Recently used files"
- ":Telescope oldfiles <CR>")
- (dashboard.button :t " Find text" ":Telescope live_grep <CR>")
- (dashboard.button :c " Configuration"
- ":e ~/.config/nvim/init.lua <CR>")
- (dashboard.button :q " Quit Neovim" ":qa<CR>")])
- (set dashboard.section.header.opts.hl :AlphaHeader)
- (set dashboard.section.buttons.opts.hl :AlphaButtons)
- (set dashboard.opts.opts.noautocmd true)
- (alpha.setup dashboard.opts))))
+ (set dashboard.section.header.val ascii-art)
+ (set dashboard.section.buttons.val
+ [(dashboard.button :f " Find file"
+ ":Telescope file_browser <CR>")
+ (dashboard.button :e " New file" ":ene <BAR> startinsert <CR>")
+ (dashboard.button :p " Find project" ":Telescope projects <CR>")
+ (dashboard.button :r " Recently used files"
+ ":Telescope oldfiles <CR>")
+ (dashboard.button :t " Find text" ":Telescope live_grep <CR>")
+ (dashboard.button :c " Configuration"
+ ":e ~/.config/nvim/init.lua <CR>")
+ (dashboard.button :q " Quit Neovim" ":qa<CR>")])
+ (set dashboard.section.header.opts.hl :AlphaHeader)
+ (set dashboard.section.buttons.opts.hl :AlphaButtons)
+ (set dashboard.opts.opts.noautocmd true)
+ (alpha.setup dashboard.opts)))