about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-19 00:50:30 +0900
committersefidel <contact@sefidel.net>2022-03-19 00:50:30 +0900
commite78c45931794e08c40454750ba45527f8b1750e6 (patch)
tree7d9b7caf47c5a2af92bed7533f3e0e1397b81650 /fnl/nvrc/packs
parent4c25c2465380c9bfeb51567189fded155c1b40e3 (diff)
downloadnvimrc-e78c45931794e08c40454750ba45527f8b1750e6.tar.gz
nvimrc-e78c45931794e08c40454750ba45527f8b1750e6.zip
Revert "feat(pack): add gitsigns"
This reverts commit 717ad38203bee2dda9345eb52e3853dede6656f8.
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/gitsigns.fnl12
1 files changed, 0 insertions, 12 deletions
diff --git a/fnl/nvrc/packs/gitsigns.fnl b/fnl/nvrc/packs/gitsigns.fnl
deleted file mode 100644
index c7dbed1..0000000
--- a/fnl/nvrc/packs/gitsigns.fnl
+++ /dev/null
@@ -1,12 +0,0 @@
-(import-macros {: map!} :nvrc.macro.keymap)
-
-(local {: setup} (require :gitsigns))
-
-(setup {:signs {:add {:text "+"}
-                :change {:text "~"}
-                :delete {:text "_"}
-                :topdelete {:text "‾"}
-                :changedelete {:text "~"}}
-        :on_attach (fn [bufnr]
-                      (map! [n :expr] "]c" "&diff ? ']c' : '<cmd>Gitsigns next_hunk<cr>'")
-                      (map! [n :expr] "[c" "&diff ? '[c' : '<cmd>Gitsigns prev_hunk<cr>'"))})