trixy/fnl/plugins/gitsigns.fnl

47 lines
776 B
Fennel
Executable file

(local gitsigns (require :gitsigns))
(gitsigns.setup {
:signs {
:add [:text :]
:change [:text :]
:delete [:text :]
:topdelete [:text :]
:changedelete [:text :]
:untracked [:text :]
}
:signcolumn true
:numhl false
:linehl false
:word_diff false
:watch_gitdir {
:follow_files true
}
:attach_to_untracked true
:current_line_blame false
:current_line_blame_opts {
:virt_text true
:virt_text_pos :eol
:delay 1000
:ignore_whitespace false
}
:current_line_blame_formatter "<author>, <author_time:%Y-%m-%d> - <summary>"
:sign_priority 6
:update_debounce 100
:status_formatter nil
:max_file_length 40000
:preview_config {
:border :single
:style :minimal
:relative :cursor
:row 0
:col 1
}
})