From 2fb74089d3515077395299bce9df32e9e989a8ac Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 16 Feb 2022 08:54:25 +0900 Subject: rel: v0.1 - Disable lazy-loading plugins - Add more useful plugins - Fix bar from loading slowly - Add support for neomutt - Change keybinds - Add Editorconfig --- fnl/nvrc/packs/mergetool.fnl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fnl/nvrc/packs/mergetool.fnl (limited to 'fnl/nvrc/packs/mergetool.fnl') diff --git a/fnl/nvrc/packs/mergetool.fnl b/fnl/nvrc/packs/mergetool.fnl new file mode 100644 index 0000000..5a8cfba --- /dev/null +++ b/fnl/nvrc/packs/mergetool.fnl @@ -0,0 +1,7 @@ +(import-macros {: setv!} :nvrc.macro.set) + +(setv! MergetoolSetLayoutCallback + (fn [split] + (when (and (= "mr,b" (. split :layout)) (= :b (. split :split))) + (set vim.wo.diff false) + (vim.cmd "resize 15")))) -- cgit 1.4.1