From 59f183e2fba2620032fcf456ba4629ec6d1d8c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Wed, 7 Aug 2024 20:02:19 +0200 Subject: nvim: move mini plugin into a single file Also, simplify the opts. Since I no longer want to require a mini component for the config, I don't have to wrap it in an fn. Also, I should just do a `#{}` next time anyway. --- dot_config/nvim/lua/plugins/mini.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/mini.lua (limited to 'dot_config/nvim/lua/plugins/mini.lua') diff --git a/dot_config/nvim/lua/plugins/mini.lua b/dot_config/nvim/lua/plugins/mini.lua new file mode 100644 index 0000000..cc358db --- /dev/null +++ b/dot_config/nvim/lua/plugins/mini.lua @@ -0,0 +1,8 @@ +-- [nfnl] Compiled from fnl/plugins/mini.fnl by https://github.com/Olical/nfnl, do not edit. +local function _1_(_, opts) + for k, v in pairs(opts) do + require(("mini." .. k)).setup(v) + end + return nil +end +return {{"echasnovski/mini.nvim", config = _1_, opts = {ai = {}, align = {}, basics = {}, bracketed = {indent = {options = {change_type = "diff"}}}, comment = {}, completion = {}, cursorword = {}, indentscope = {}, move = {}, splitjoin = {}, statusline = {}, tabline = {}, trailspace = {}}, version = false}} -- cgit v1.2.3