dotfiles/home/config/nvim/plugins/gitsigns.fnl

26 lines
1.3 KiB
Fennel

(let [gitsigns (require :gitsigns)]
(gitsigns.setup {:signs {:add {:hl :GitSignsAdd
:text "│"
:numhl :GitSignsAddNr
:linehl :GitSignsAddLn}
:change {:hl :GitSignsChange
:text "│"
:numhl :GitSignsChangeNr
:linehl :GitSignsChangeLn}
:delete {:hl :GitSignsDelete
:text "_"
:numhl :GitSignsDeleteNr
:linehl :GitSignsDeleteLn}
:topdelete {:hl :GitSignsDelete
:text "‾"
:numhl :GitSignsDeleteNr
:linehl :GitSignsDeleteLn}
:changedelete {:hl :GitSignsChange
:text "~"
:numhl :GitSignsChangeNr
:linehl :GitSignsChangeLn}}
:numhl false
:linehl false
:diff_opts {:internal true}
:preview_config {:border :rounded}}))