summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/plugins/mini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/nvim/fnl/plugins/mini.fnl19
-rw-r--r--dot_config/nvim/fnl/plugins/mini/init.fnl20
-rw-r--r--dot_config/nvim/fnl/plugins/mini/starter.fnl15
3 files changed, 19 insertions, 35 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 {}})]
diff --git a/dot_config/nvim/fnl/plugins/mini/init.fnl b/dot_config/nvim/fnl/plugins/mini/init.fnl
deleted file mode 100644
index 53f7f22..0000000
--- a/dot_config/nvim/fnl/plugins/mini/init.fnl
+++ /dev/null
@@ -1,20 +0,0 @@
-(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 (fn [] {:ai {}
- :align {}
- :basics {}
- :bracketed {:indent {:options {:change_type :diff}}}
- :comment {}
- :completion {}
- :cursorword {}
- :indentscope {}
- :move {}
- :splitjoin {}
- ; :starter (require :plugins.mini.starter)
- :statusline {}
- :tabline {}
- :trailspace {}}))]
diff --git a/dot_config/nvim/fnl/plugins/mini/starter.fnl b/dot_config/nvim/fnl/plugins/mini/starter.fnl
deleted file mode 100644
index 99d71f9..0000000
--- a/dot_config/nvim/fnl/plugins/mini/starter.fnl
+++ /dev/null
@@ -1,15 +0,0 @@
-(let [starter (require :mini.starter)
- 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"}]]
- (each [_ v (ipairs telescope)]
- (set v.section :Telescope))
- {:items [telescope
- (starter.sections.builtin_actions)]})