* feat(#1079): add highlight NvimTreeCopiedText and NvimTreeCutText * feat(#1079): add highlight NvimTreeCopiedText and NvimTreeCutText * feat(#1079): node may not be present in copy and cut * feat(#1079): add renderer.highlight_clipboard * feat(#1079): renderer.highlight_clipboard takes options, style cut/copy HL * feat(#1079): renderer.highlight_clipboard takes options, style cut/copy HL * feat(#1079): use an enum for highlight position * feat(#1079): diagnostics uses _append_highlight
This commit is contained in:
committed by
GitHub
parent
f742b86852
commit
a3aa3b47ea
@@ -5,13 +5,13 @@ local M = {}
|
||||
|
||||
local function build_icons_table(i)
|
||||
local icons = {
|
||||
staged = { str = i.staged, hl = "NvimTreeGitStaged", ord = 1 },
|
||||
unstaged = { str = i.unstaged, hl = "NvimTreeGitDirty", ord = 2 },
|
||||
renamed = { str = i.renamed, hl = "NvimTreeGitRenamed", ord = 3 },
|
||||
deleted = { str = i.deleted, hl = "NvimTreeGitDeleted", ord = 4 },
|
||||
unmerged = { str = i.unmerged, hl = "NvimTreeGitMerge", ord = 5 },
|
||||
untracked = { str = i.untracked, hl = "NvimTreeGitNew", ord = 6 },
|
||||
ignored = { str = i.ignored, hl = "NvimTreeGitIgnored", ord = 7 },
|
||||
staged = { str = i.staged, hl = { "NvimTreeGitStaged" }, ord = 1 },
|
||||
unstaged = { str = i.unstaged, hl = { "NvimTreeGitDirty" }, ord = 2 },
|
||||
renamed = { str = i.renamed, hl = { "NvimTreeGitRenamed" }, ord = 3 },
|
||||
deleted = { str = i.deleted, hl = { "NvimTreeGitDeleted" }, ord = 4 },
|
||||
unmerged = { str = i.unmerged, hl = { "NvimTreeGitMerge" }, ord = 5 },
|
||||
untracked = { str = i.untracked, hl = { "NvimTreeGitNew" }, ord = 6 },
|
||||
ignored = { str = i.ignored, hl = { "NvimTreeGitIgnored" }, ord = 7 },
|
||||
}
|
||||
return {
|
||||
["M "] = { icons.staged },
|
||||
|
||||
Reference in New Issue
Block a user