summaryrefslogtreecommitdiff
path: root/dot_config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/lua/plugins/mini/starter.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/dot_config/nvim/lua/plugins/mini/starter.lua b/dot_config/nvim/lua/plugins/mini/starter.lua
index ed2246d..539aa11 100644
--- a/dot_config/nvim/lua/plugins/mini/starter.lua
+++ b/dot_config/nvim/lua/plugins/mini/starter.lua
@@ -1,15 +1,19 @@
local starter = require 'mini.starter'
-local function telescope()
- local builtinf = starter.sections.telescope()
- local builtin = builtinf()
- table.remove(builtin, 1)
- return function() return builtin end
+local telescope = {
+ {action = 'Telescope commands', name = 'Commands'},
+ {action = 'Telescope find_files', name = 'Files'},
+ {action = 'Telescope help_tags', name = 'Help tags'},
+ {action = 'Telescope live_grep', name = 'Live grep'},
+ {action = 'Telescope oldfiles', name = 'Old files'},
+}
+for _, v in ipairs(telescope) do
+ v.section = 'Telescope'
end
return {
items = {
- telescope(),
+ telescope,
starter.sections.builtin_actions(),
},
}