1
0
Fork 0
dotfiles/home/config/nvim/plugins/gitsigns.fnl

15 lines
667 B
Text
Raw Normal View History

2023-01-11 21:45:22 +00:00
(let [gitsigns (require :gitsigns)
set-bufvar vim.api.nvim_buf_set_var]
2024-06-24 08:51:47 +00:00
(gitsigns.setup {:signs {:add {:text "│"}
:change {:text "│"}
:delete {:text "_"}
:topdelete {:text "‾"}
:changedelete {:text "~"}
:untracked {:text "┆"}}
2022-04-05 19:57:44 +00:00
:numhl false
:linehl false
2022-04-23 22:16:23 +00:00
:diff_opts {:internal true}
2023-01-11 21:45:22 +00:00
:preview_config {:border :rounded}
:on_attach (fn [bufnr]
(set-bufvar bufnr :nifoc_gitsigns_enabled 1))}))