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