summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/mini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/lua/plugins/mini/init.lua41
-rw-r--r--dot_config/nvim/lua/plugins/mini/starter.lua22
2 files changed, 16 insertions, 47 deletions
diff --git a/dot_config/nvim/lua/plugins/mini/init.lua b/dot_config/nvim/lua/plugins/mini/init.lua
index 2b61811..d45951e 100644
--- a/dot_config/nvim/lua/plugins/mini/init.lua
+++ b/dot_config/nvim/lua/plugins/mini/init.lua
@@ -1,30 +1,11 @@
-return {
- {
- 'echasnovski/mini.nvim',
- version = false, -- beta
- config = function(_, opts)
- for k, v in pairs(opts) do
- require ("mini." .. k).setup(v)
- end
- end,
- opts = function()
- return {
- ai = {},
- align = {},
- basics = {},
- bracketed = {
- indent = { options = { change_type = 'diff' } },
- },
- comment = {},
- completion = {},
- cursorword = {},
- indentscope = {},
- move = {},
- splitjoin = {},
- -- starter = require 'plugins.mini.starter',
- statusline = {},
- tabline = {},
- trailspace = {},
- }
- end },
-}
+-- [nfnl] Compiled from fnl/plugins/mini/init.fnl by https://github.com/Olical/nfnl, do not edit.
+local function _1_(_, opts)
+ for k, v in pairs(opts) do
+ do end (require(("mini." .. k))).setup(v)
+ end
+ return nil
+end
+local function _2_()
+ return {ai = {}, align = {}, basics = {}, bracketed = {indent = {options = {change_type = "diff"}}}, comment = {}, completion = {}, cursorword = {}, indentscope = {}, move = {}, splitjoin = {}, statusline = {}, tabline = {}, trailspace = {}}
+end
+return {{"echasnovski/mini.nvim", config = _1_, opts = _2_, version = false}}
diff --git a/dot_config/nvim/lua/plugins/mini/starter.lua b/dot_config/nvim/lua/plugins/mini/starter.lua
index 539aa11..4174894 100644
--- a/dot_config/nvim/lua/plugins/mini/starter.lua
+++ b/dot_config/nvim/lua/plugins/mini/starter.lua
@@ -1,19 +1,7 @@
-local starter = require 'mini.starter'
-
-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'},
-}
+-- [nfnl] Compiled from fnl/plugins/mini/starter.fnl by https://github.com/Olical/nfnl, do not edit.
+local starter = require("mini.starter")
+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'
+ v.section = "Telescope"
end
-
-return {
- items = {
- telescope,
- starter.sections.builtin_actions(),
- },
-}
+return {items = {telescope, starter.sections.builtin_actions()}}