about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 19:03:02 +0900
committersefidel <contact@sefidel.net>2022-02-26 19:03:02 +0900
commit899a50bf8eb2816305afb79bb1134209a5f3cbdb (patch)
tree62ae24f43f5def828eca7c93853f76354af4d03a
parent475e8ae48378054ce0077dbc6fd27257bc3fbff1 (diff)
downloadnvimrc-899a50bf8eb2816305afb79bb1134209a5f3cbdb.tar.gz
nvimrc-899a50bf8eb2816305afb79bb1134209a5f3cbdb.zip
chore: get rid of redundant pack configurations
-rw-r--r--fnl/nvrc/packs/blankline.fnl11
-rw-r--r--fnl/nvrc/packs/diffview.fnl7
-rw-r--r--fnl/nvrc/packs/gitsigns.fnl7
-rw-r--r--fnl/nvrc/packs/harpoon.fnl3
-rw-r--r--fnl/nvrc/packs/mergetool.fnl7
5 files changed, 0 insertions, 35 deletions
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 "<cmd>DiffviewClose<cr>"}
-                       :file_history_panel {:q "<cmd>DiffviewClose<cr>"}
-                       :view {:q "<cmd>DiffviewClose<cr>"}}})
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"))))