From 2a94573f54c69a9af7536586ab2c03eb88bda5e7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 5 Jan 2024 01:50:20 +0100 Subject: Refactor --- fnl/plugins/editor/dial.fnl | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 fnl/plugins/editor/dial.fnl (limited to 'fnl/plugins/editor/dial.fnl') diff --git a/fnl/plugins/editor/dial.fnl b/fnl/plugins/editor/dial.fnl deleted file mode 100644 index 7a888eb..0000000 --- a/fnl/plugins/editor/dial.fnl +++ /dev/null @@ -1,25 +0,0 @@ -;; Better incrementation/decrementation. - -(local keys [{1 : - 2 (fn [] - (let [dial (require :dial.map)] - (dial.inc_normal))) - :expr true - :desc :Increment} - {1 : - 2 (fn [] - (let [dial (require :dial.map)] - (dial.dec_normal))) - :expr true - :desc :Decrement}]) - -(fn config [] - (let [cfg (require :dial.config) - augend (require :dial.augend)] - (cfg.augends:register_group {:default [augend.integer.alias.decimal - augend.integer.alias.hex - (. augend.date.alias "%Y-%m-%d") - augend.constant.alias.bool - augend.semver.alias.semver]}))) - -{1 :monaqa/dial.nvim : keys : config} -- cgit v1.2.3-70-g09d2