summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/gitsigns.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/gitsigns.fnl')
-rw-r--r--fnl/plugins/editor/gitsigns.fnl12
1 files changed, 7 insertions, 5 deletions
diff --git a/fnl/plugins/editor/gitsigns.fnl b/fnl/plugins/editor/gitsigns.fnl
index e0551e6..0634138 100644
--- a/fnl/plugins/editor/gitsigns.fnl
+++ b/fnl/plugins/editor/gitsigns.fnl
@@ -51,24 +51,26 @@
[mode key cmd desc]
(vim.keymap.set mode key cmd (vim.tbl_extend :force {:buffer bufnr} desc)))))
+(local icons (require :plugins.icons))
+
(local signs {:add {:hl :GitSignsAdd
- :text "|"
+ :text (. icons :git-add)
:numhl :GitSignsAddNr
:linehl :GitSignsAddLn}
:change {:hl :GitSignsChange
- :text "|"
+ :text (. icons :git-add)
:numhl :GitSignsChangeNr
:linehl :GitSignsChangeLn}
:delete {:hl :GitSignsDelete
- :text "_"
+ :text (. icons :git-delete)
:numhl :GitSignsDeleteNr
:linehl :GitSignsDeleteLn}
:topdelete {:hl :GitSignsDelete
- :text "‾"
+ :text (. icons :git-top-delete)
:numhl :GitSignsDeleteNr
:linehl :GitSignsDeleteLn}
:changedelete {:hl :GitSignsChange
- :text "~"
+ :text (. icons :git-change-delete)
:numhl :GitSignsChangeNr
:linehl :GitSignsChangeLn}})