git improvements

This commit is contained in:
Sven Vogel 2024-03-03 21:02:51 +01:00
parent 692cbbd6ba
commit 3c79424940
4 changed files with 9 additions and 6 deletions

View File

@ -15,7 +15,8 @@ return {
signcolumn = true,
preview_config = {
border = 'rounded'
}
},
}
end
}

View File

@ -44,7 +44,7 @@ return {
lualine_c = {
{
'branch',
icon = '󰊤 '
icon = '󰊤'
},
{
'diff',

View File

@ -14,12 +14,14 @@ return {
sources = {
"filesystem",
"buffers",
"git_status",
"document_symbols"
},
source_selector = {
winbar = true,
statusline = false
},
close_if_last_window = true,
popup_border_style = options.ui.border,
default_component_configs = {
container = {
@ -41,9 +43,9 @@ return {
git_status = {
symbols = {
-- Change type
added = "A", -- or "✚", but this is redundant info if you use git_status_colors on the name
modified = "M", -- or "", but this is redundant info if you use git_status_colors on the name
deleted = "D",-- this can only be used in the git_status source
added = "", -- or "✚", but this is redundant info if you use git_status_colors on the name
modified = "", -- or "", but this is redundant info if you use git_status_colors on the name
deleted = "-",-- this can only be used in the git_status source
renamed = "R",-- this can only be used in the git_status source
-- Status type
untracked = "U",

View File

@ -15,7 +15,7 @@ return {
{
sign = {
name = { "Diagnostic" },
colwidth = 2,
colwidth = 1,
maxwidth = 1,
condition = { true }
},