add file highlight for git attributes and remove the space before the git icon
This commit is contained in:
@@ -100,7 +100,13 @@ when no icon is found for a file.
|
||||
\ 'untracked': "★"
|
||||
\ }
|
||||
\ }
|
||||
<
|
||||
|
||||
|g:lua_tree_git_hl| *g:lua_tree_git_hl*
|
||||
|
||||
You can enable file highlight for git attributes by setting this property.
|
||||
This can be used with or without the icons.
|
||||
|
||||
|
||||
|g:lua_tree_follow| *g:lua_tree_follow*
|
||||
|
||||
Can be `0` or `1`. When `1`, will update the cursor to update to the correct
|
||||
@@ -231,6 +237,7 @@ LuaTreeImageFile
|
||||
LuaTreeMarkdownFile
|
||||
LuaTreeIndentMarker
|
||||
|
||||
<<<<<<< HEAD
|
||||
LuaTreeLicenseIcon
|
||||
LuaTreeYamlIcon
|
||||
LuaTreeTomlIcon
|
||||
@@ -262,5 +269,14 @@ CursorLine
|
||||
VertSplit
|
||||
CursorColumn
|
||||
|
||||
There are also links for file highlight with git properties
|
||||
These all link to there Git equivalent
|
||||
|
||||
LuaTreeFileDirty
|
||||
LuaTreeFileStaged
|
||||
LuaTreeFileMerge
|
||||
LuaTreeFileNew
|
||||
LuaTreeFileRenamed
|
||||
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
|
||||
3
doc/tags
3
doc/tags
@@ -1,3 +1,4 @@
|
||||
:LuaTreeClipboard nvim-tree-lua.txt /*:LuaTreeClipboard*
|
||||
:LuaTreeClose nvim-tree-lua.txt /*:LuaTreeClose*
|
||||
:LuaTreeFindFile nvim-tree-lua.txt /*:LuaTreeFindFile*
|
||||
:LuaTreeOpen nvim-tree-lua.txt /*:LuaTreeOpen*
|
||||
@@ -6,7 +7,9 @@
|
||||
g:lua_tree_auto_close nvim-tree-lua.txt /*g:lua_tree_auto_close*
|
||||
g:lua_tree_auto_open nvim-tree-lua.txt /*g:lua_tree_auto_open*
|
||||
g:lua_tree_bindings nvim-tree-lua.txt /*g:lua_tree_bindings*
|
||||
g:lua_tree_disable_keybindings nvim-tree-lua.txt /*g:lua_tree_disable_keybindings*
|
||||
g:lua_tree_follow nvim-tree-lua.txt /*g:lua_tree_follow*
|
||||
g:lua_tree_git_hl nvim-tree-lua.txt /*g:lua_tree_git_hl*
|
||||
g:lua_tree_icons nvim-tree-lua.txt /*g:lua_tree_icons*
|
||||
g:lua_tree_ignore nvim-tree-lua.txt /*g:lua_tree_ignore*
|
||||
g:lua_tree_indent_markers nvim-tree-lua.txt /*g:lua_tree_indent_markers*
|
||||
|
||||
Reference in New Issue
Block a user