diff options
| author | 2024-07-24 19:19:26 +0200 | |
|---|---|---|
| committer | 2024-07-24 19:19:26 +0200 | |
| commit | 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 (patch) | |
| tree | d740ac5e8943e48ee4132efc4633051d6cdf1d48 /dot_config/nvim/lua/plugins/mini/init.lua | |
| parent | nvim: ignore lazy-lock.json (diff) | |
nvim: rewrite config in fennel
One file isn't done, and there's also the question of ftplugin and co.
One step at a time though, eh?
Diffstat (limited to '')
| -rw-r--r-- | dot_config/nvim/lua/plugins/mini/init.lua | 41 |
1 files changed, 11 insertions, 30 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}} |
