trixy/fnl/plugins/gitsigns.fnl

41 lines
783 B
Plaintext
Raw Normal View History

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