diff options
| author | 2024-08-07 20:02:19 +0200 | |
|---|---|---|
| committer | 2024-08-07 20:02:19 +0200 | |
| commit | 59f183e2fba2620032fcf456ba4629ec6d1d8c05 (patch) | |
| tree | c59fc4a38576e0ca9c769be8b6d1fc1ce4d8dc78 /dot_config/nvim/fnl/plugins/mini.fnl | |
| parent | nvim: move lsp into a single file (diff) | |
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.
Diffstat (limited to '')
| -rw-r--r-- | dot_config/nvim/fnl/plugins/mini.fnl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dot_config/nvim/fnl/plugins/mini.fnl b/dot_config/nvim/fnl/plugins/mini.fnl new file mode 100644 index 0000000..e339ce7 --- /dev/null +++ b/dot_config/nvim/fnl/plugins/mini.fnl @@ -0,0 +1,19 @@ +(import-macros {:mixed-table · : recc} :toast.macros) +[(· :echasnovski/mini.nvim & + :version false + :config (fn [_ opts] + (each [k v (pairs opts)] + (recc (.. :mini. k) :setup v))) + :opts {:ai {} + :align {} + :basics {} + :bracketed {:indent {:options {:change_type :diff}}} + :comment {} + :completion {} + :cursorword {} + :indentscope {} + :move {} + :splitjoin {} + :statusline {} + :tabline {} + :trailspace {}})] |
