This commit is contained in:
2026-05-21 00:39:55 +02:00
parent bdf07b7f2d
commit 26e76a065b
3 changed files with 51 additions and 49 deletions
+48 -48
View File
@@ -1,49 +1,49 @@
require('gitsigns').setup { require("gitsigns").setup {
signs = { signs = {
add = { text = '' }, add = { text = "" },
change = { text = '' }, change = { text = "" },
delete = { text = '_' }, delete = { text = "_" },
topdelete = { text = '' }, topdelete = { text = "" },
changedelete = { text = '~' }, changedelete = { text = "~" },
untracked = { text = '' }, untracked = { text = "" },
}, },
signs_staged = { signs_staged = {
add = { text = '' }, add = { text = "" },
change = { text = '' }, change = { text = "" },
delete = { text = '_' }, delete = { text = "_" },
topdelete = { text = '' }, topdelete = { text = "" },
changedelete = { text = '~' }, changedelete = { text = "~" },
untracked = { text = '' }, untracked = { text = "" },
}, },
signs_staged_enable = true, signs_staged_enable = true,
signcolumn = true, signcolumn = true,
numhl = false, numhl = false,
linehl = false, linehl = false,
word_diff = false, word_diff = false,
watch_gitdir = { watch_gitdir = {
follow_files = true follow_files = true,
}, },
auto_attach = true, auto_attach = true,
attach_to_untracked = false, attach_to_untracked = false,
current_line_blame = false, current_line_blame = false,
current_line_blame_opts = { current_line_blame_opts = {
virt_text = true, virt_text = true,
virt_text_pos = 'eol', virt_text_pos = "eol",
delay = 1000, delay = 1000,
ignore_whitespace = false, ignore_whitespace = false,
virt_text_priority = 100, virt_text_priority = 100,
use_focus = true, use_focus = true,
}, },
current_line_blame_formatter = '<author>, <author_time:%R> - <summary>', current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
blame_formatter = nil, blame_formatter = nil,
sign_priority = 6, sign_priority = 6,
update_debounce = 100, update_debounce = 100,
status_formatter = nil, status_formatter = nil,
max_file_length = 40000, max_file_length = 40000,
preview_config = { preview_config = {
style = 'minimal', style = "minimal",
relative = 'cursor', relative = "cursor",
row = 0, row = 0,
col = 1 col = 1,
}, },
} }
+2
View File
@@ -12,6 +12,8 @@ map(
default_opts default_opts
) )
map("n", "<leader>fn", "<Cmd>Telescope find_files<CR>")
map({ "n", "v" }, "<leader>ap", require("actions-preview").code_actions) map({ "n", "v" }, "<leader>ap", require("actions-preview").code_actions)
map("n", "<Tab>", "<Cmd>BufferLineCycleNext<CR>") map("n", "<Tab>", "<Cmd>BufferLineCycleNext<CR>")
+1 -1
View File
@@ -1,7 +1,7 @@
return { return {
{ {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
config = function () config = function()
require "gitsigns" require "gitsigns"
end, end,
}, },