diff options
author | sefidel <contact@sefidel.net> | 2022-02-16 08:54:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-16 17:16:41 +0900 |
commit | 2fb74089d3515077395299bce9df32e9e989a8ac (patch) | |
tree | b7e8064cff1c687a11788ab96f96cbcf6d3c88fa /fnl/nvrc/packs/mergetool.fnl | |
parent | 6b4cacae7b9c435666c2ec399261f6504336bdce (diff) | |
download | nvimrc-2fb74089d3515077395299bce9df32e9e989a8ac.tar.gz nvimrc-2fb74089d3515077395299bce9df32e9e989a8ac.zip |
rel: v0.1
- Disable lazy-loading plugins - Add more useful plugins - Fix bar from loading slowly - Add support for neomutt - Change keybinds - Add Editorconfig
Diffstat (limited to 'fnl/nvrc/packs/mergetool.fnl')
-rw-r--r-- | fnl/nvrc/packs/mergetool.fnl | 7 |
1 files changed, 7 insertions, 0 deletions
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")))) |