summaryrefslogtreecommitdiff
path: root/pkgs/old-neovim/config/lua/plugins/mini-starter.lua
blob: b39e7f1d4d046b48c02d2a4a5a5bbca96379f3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local starter = require('mini.starter')
starter.setup({
  evaluate_single = true,
  header = "",
  footer = "",
  items = {
    starter.sections.builtin_actions(),
    starter.sections.sessions(5, true),
    starter.sections.recent_files(5, true),
  },
  content_hooks = {
    starter.gen_hook.adding_bullet(),
    starter.gen_hook.indexing('all', { 'Builtin actions' }),
    starter.gen_hook.padding(3, 2),
    starter.gen_hook.aligning('center', 'center'),
  },
})