mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-27 14:42:23 +00:00
26 lines
766 B
Fennel
26 lines
766 B
Fennel
(local {: autoload} (require :nfnl.module))
|
|
(local utils (autoload :dots.utils))
|
|
(local gitsigns (autoload :gitsigns))
|
|
|
|
(fn setup []
|
|
(gitsigns.setup
|
|
{:signs {:add {:text "▍"}
|
|
:change {:text "▍"}
|
|
:delete {:text "▍"}
|
|
:topdelete {:text "▍"}
|
|
:changedelete {:text "▍"}}
|
|
; :keymaps {:noremap true
|
|
; :buffer true}
|
|
:current_line_blame false
|
|
:update_debounce 100})
|
|
|
|
(let [scrollbar-gitsigns (require "scrollbar.handlers.gitsigns")]
|
|
(scrollbar-gitsigns.setup)))
|
|
|
|
[(utils.plugin
|
|
:lewis6991/gitsigns.nvim
|
|
{:dependencies [:vim-gruvbox8
|
|
:petertriho/nvim-scrollbar]
|
|
:config setup})]
|
|
|
|
|