indent chunk
This commit is contained in:
@@ -17,6 +17,11 @@ return {
|
||||
|
||||
-- remove background of inlay hints
|
||||
LspInlayHint = { fg = "#FF748B", bg = "none" },
|
||||
|
||||
-- Highlight cho variable matching
|
||||
LspReferenceText = { fg = "#FFFFFF", bg = "#FF6B35", bold = true }, -- Cam đậm + chữ trắng
|
||||
LspReferenceRead = { fg = "#000000", bg = "#00E5FF", bold = true }, -- Xanh cyan + chữ đen
|
||||
LspReferenceWrite = { fg = "#FFFFFF", bg = "#E91E63", bold = true }, -- Hồng đậm + chữ trắng
|
||||
}
|
||||
|
||||
return hl
|
||||
|
||||
@@ -1,25 +1,38 @@
|
||||
return {
|
||||
priority = 1,
|
||||
enabled = true, -- enable indent guides
|
||||
only_scope = true, -- only show indent guides of the scope
|
||||
only_current = false, -- only show indent guides in the current window
|
||||
hl = "SnacksIndent", ---@type string|string[] hl groups for indent guides
|
||||
indent = {
|
||||
priority = 1,
|
||||
enabled = false, -- enable indent guides
|
||||
only_scope = false, -- only show indent guides of the scope
|
||||
only_current = false, -- only show indent guides in the current window
|
||||
char = " ",
|
||||
hl = "SnacksIndent", ---@type string|string[] hl groups for indent guides
|
||||
},
|
||||
|
||||
animate = {
|
||||
enabled = vim.fn.has("nvim-0.10") == 1,
|
||||
style = "up_down",
|
||||
easing = "linear",
|
||||
duration = {
|
||||
step = 50, -- ms per step
|
||||
total = 500, -- maximum duration
|
||||
step = 10, -- ms per step
|
||||
total = 100, -- maximum duration
|
||||
},
|
||||
},
|
||||
scope = {
|
||||
enabled = true, -- enable highlighting the current scope
|
||||
enabled = false, -- enable highlighting the current scope
|
||||
priority = 200,
|
||||
char = "",
|
||||
underline = false, -- underline the start of the scope
|
||||
only_current = false, -- only show scope in the current window
|
||||
hl = "SnacksIndentScope", ---@type string|string[] hl group for scopes
|
||||
},
|
||||
chunk = {
|
||||
enabled = true,
|
||||
char = {
|
||||
corner_top = "┏",
|
||||
corner_bottom = "┗",
|
||||
horizontal = "━",
|
||||
vertical = "┃",
|
||||
arrow = "▶",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user