feat: add NvimTreeCursorLineNr (#1616)
This commit is contained in:
parent
45d386a359
commit
7282f7de8a
@ -1351,6 +1351,7 @@ There are also links to normal bindings to style the tree itself.
|
||||
NvimTreeNormal
|
||||
NvimTreeEndOfBuffer (NonText)
|
||||
NvimTreeCursorLine (CursorLine)
|
||||
NvimTreeCursorLineNr (CursorLineNr)
|
||||
NvimTreeVertSplit (VertSplit) [deprecated, use NvimTreeWinSeparator]
|
||||
NvimTreeWinSeparator (VertSplit)
|
||||
NvimTreeCursorColumn (CursorColumn)
|
||||
|
||||
@ -66,6 +66,7 @@ local function get_links()
|
||||
Normal = "Normal",
|
||||
NormalNC = "NvimTreeNormal",
|
||||
EndOfBuffer = "EndOfBuffer",
|
||||
CursorLineNr = "CursorLineNr",
|
||||
CursorLine = "CursorLine",
|
||||
VertSplit = "VertSplit",
|
||||
WinSeparator = "NvimTreeVertSplit",
|
||||
|
||||
@ -28,13 +28,14 @@ M.View = {
|
||||
foldmethod = "manual",
|
||||
foldcolumn = "0",
|
||||
cursorcolumn = false,
|
||||
cursorlineopt = "line",
|
||||
cursorlineopt = "both",
|
||||
colorcolumn = "0",
|
||||
wrap = false,
|
||||
winhl = table.concat({
|
||||
"EndOfBuffer:NvimTreeEndOfBuffer",
|
||||
"Normal:NvimTreeNormal",
|
||||
"CursorLine:NvimTreeCursorLine",
|
||||
"CursorLineNr:NvimTreeCursorLineNr",
|
||||
get_win_sep_hl(),
|
||||
"StatusLine:NvimTreeStatusLine",
|
||||
"StatusLineNC:NvimTreeStatuslineNC",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user