1221 handle deprecated vert split (#1225)
This commit is contained in:
parent
743e3b5454
commit
d54fc28045
@ -872,11 +872,12 @@ NvimTreeWindowPicker
|
|||||||
|
|
||||||
There are also links to normal bindings to style the tree itself.
|
There are also links to normal bindings to style the tree itself.
|
||||||
|
|
||||||
Normal
|
NvimTreeNormal
|
||||||
EndOfBuffer
|
NvimTreeEndOfBuffer
|
||||||
CursorLine
|
NvimTreeCursorLine
|
||||||
VertSplit
|
NvimTreeVertSplit (deprecated, use NvimTreeWinSeparator)
|
||||||
CursorColumn
|
NvimTreeWinSeparator
|
||||||
|
NvimTreeCursorColumn
|
||||||
|
|
||||||
There are also links for file highlight with git properties
|
There are also links for file highlight with git properties
|
||||||
These all link to there Git equivalent
|
These all link to there Git equivalent
|
||||||
|
|||||||
@ -65,6 +65,7 @@ local function get_links()
|
|||||||
EndOfBuffer = "EndOfBuffer",
|
EndOfBuffer = "EndOfBuffer",
|
||||||
CursorLine = "CursorLine",
|
CursorLine = "CursorLine",
|
||||||
VertSplit = "VertSplit",
|
VertSplit = "VertSplit",
|
||||||
|
WinSeparator = "NvimTreeVertSplit",
|
||||||
CursorColumn = "CursorColumn",
|
CursorColumn = "CursorColumn",
|
||||||
FileDirty = "NvimTreeGitDirty",
|
FileDirty = "NvimTreeGitDirty",
|
||||||
FileNew = "NvimTreeGitNew",
|
FileNew = "NvimTreeGitNew",
|
||||||
|
|||||||
@ -27,7 +27,8 @@ M.View = {
|
|||||||
"EndOfBuffer:NvimTreeEndOfBuffer",
|
"EndOfBuffer:NvimTreeEndOfBuffer",
|
||||||
"Normal:NvimTreeNormal",
|
"Normal:NvimTreeNormal",
|
||||||
"CursorLine:NvimTreeCursorLine",
|
"CursorLine:NvimTreeCursorLine",
|
||||||
"VertSplit:NvimTreeVertSplit",
|
-- #1221 WinSeparator not present in nvim 0.6.1 and some builds of 0.7.0
|
||||||
|
pcall(vim.cmd, "silent hi WinSeparator") and "WinSeparator:NvimTreeWinSeparator" or "VertSplit:NvimTreeWinSeparator",
|
||||||
"StatusLine:NvimTreeStatusLine",
|
"StatusLine:NvimTreeStatusLine",
|
||||||
"StatusLineNC:NvimTreeStatuslineNC",
|
"StatusLineNC:NvimTreeStatuslineNC",
|
||||||
"SignColumn:NvimTreeSignColumn",
|
"SignColumn:NvimTreeSignColumn",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user