git improvements
This commit is contained in:
parent
692cbbd6ba
commit
3c79424940
|
@ -15,7 +15,8 @@ return {
|
|||
signcolumn = true,
|
||||
preview_config = {
|
||||
border = 'rounded'
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
end
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ return {
|
|||
lualine_c = {
|
||||
{
|
||||
'branch',
|
||||
icon = ' '
|
||||
icon = ''
|
||||
},
|
||||
{
|
||||
'diff',
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -15,7 +15,7 @@ return {
|
|||
{
|
||||
sign = {
|
||||
name = { "Diagnostic" },
|
||||
colwidth = 2,
|
||||
colwidth = 1,
|
||||
maxwidth = 1,
|
||||
condition = { true }
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue