From 899a50bf8eb2816305afb79bb1134209a5f3cbdb Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 26 Feb 2022 19:03:02 +0900 Subject: chore: get rid of redundant pack configurations --- fnl/nvrc/packs/blankline.fnl | 11 ----------- fnl/nvrc/packs/diffview.fnl | 7 ------- fnl/nvrc/packs/gitsigns.fnl | 7 ------- fnl/nvrc/packs/harpoon.fnl | 3 --- fnl/nvrc/packs/mergetool.fnl | 7 ------- 5 files changed, 35 deletions(-) delete mode 100644 fnl/nvrc/packs/blankline.fnl delete mode 100644 fnl/nvrc/packs/diffview.fnl delete mode 100644 fnl/nvrc/packs/gitsigns.fnl delete mode 100644 fnl/nvrc/packs/harpoon.fnl delete mode 100644 fnl/nvrc/packs/mergetool.fnl (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/blankline.fnl b/fnl/nvrc/packs/blankline.fnl deleted file mode 100644 index 3139174..0000000 --- a/fnl/nvrc/packs/blankline.fnl +++ /dev/null @@ -1,11 +0,0 @@ -(local {: setup} (require :indent_blankline)) - -(setup {:indentLine_enabled 1 - :char "▏" - :filetype_exclude {:help :terminal - :packer :lspinfo - :TelescopePrompt :TelescopeResults - :lsp-installer ""} - :buftype_exclude {1 :terminal} - :show_trailing_blankline_indent false - :show_first_indent_level false}) diff --git a/fnl/nvrc/packs/diffview.fnl b/fnl/nvrc/packs/diffview.fnl deleted file mode 100644 index a32dea5..0000000 --- a/fnl/nvrc/packs/diffview.fnl +++ /dev/null @@ -1,7 +0,0 @@ -(local {: setup} (require :diffview)) - -(setup {:enhanced_diff_hl true - :use_icons false - :key_bindings {:file_panel {:q "DiffviewClose"} - :file_history_panel {:q "DiffviewClose"} - :view {:q "DiffviewClose"}}}) diff --git a/fnl/nvrc/packs/gitsigns.fnl b/fnl/nvrc/packs/gitsigns.fnl deleted file mode 100644 index fe500a8..0000000 --- a/fnl/nvrc/packs/gitsigns.fnl +++ /dev/null @@ -1,7 +0,0 @@ -(local {: setup} (require :gitsigns)) - -(setup {:signs {:add {:hl :DiffAdd :text "│" :numhl :GitSignsAddNr} - :change {:hl :DiffChange :text "│" :numhl :GitSignsChangeNr} - :delete {:hl :DiffDelete :text "_" :numhl :GitSignsDeleteNr} - :topdelete {:hl :DiffDelete :text "‾" :numhl :GitSignsDeleteNr} - :changedelete {:hl :DiffChangeDelete :text "~" :numhl :GitSignsChangeNr}}}) diff --git a/fnl/nvrc/packs/harpoon.fnl b/fnl/nvrc/packs/harpoon.fnl deleted file mode 100644 index 073f406..0000000 --- a/fnl/nvrc/packs/harpoon.fnl +++ /dev/null @@ -1,3 +0,0 @@ -(local {: setup} (require :harpoon)) - -(setup {:save_on_toggle true}) diff --git a/fnl/nvrc/packs/mergetool.fnl b/fnl/nvrc/packs/mergetool.fnl deleted file mode 100644 index 5a8cfba..0000000 --- a/fnl/nvrc/packs/mergetool.fnl +++ /dev/null @@ -1,7 +0,0 @@ -(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