add documentation for highlight groups

This commit is contained in:
kiyan42
2020-03-11 12:24:11 +01:00
parent 41b050a6ab
commit 658e2100eb
5 changed files with 91 additions and 39 deletions

View File

@@ -131,5 +131,49 @@ Git integration tells when a file is:
Mouse support defined in |KeyBindings|
==============================================================================
HIGHLIGHT GROUPS *nvim-tree-highlight*
All the following highlight groups can be configured by hand. It is not
advised to colorize the background of these groups.
Example (in your `init.vim`):
>
highlight LuaTreeSymlink guifg=blue gui=bold,underline
<
You should have 'termguicolors' enabled, otherwise, colors will not be
applied.
LuaTreeSymlink
LuaTreeFolderName
LuaTreeFolderIcon
LuaTreeExecFile
LuaTreeSpecialFile
LuaTreeImageFile
LuaTreeMarkdownFile
LuaTreeLicenseIcon
LuaTreeYamlIcon
LuaTreeTomlIcon
LuaTreeGitignoreIcon
LuaTreeJsonIcon
LuaTreeLuaIcon
LuaTreePythonIcon
LuaTreeShellIcon
LuaTreeJavascriptIcon
LuaTreeCIcon
LuaTreeReactIcon
LuaTreeHtmlIcon
LuaTreeRustIcon
LuaTreeVimIcon
LuaTreeTypescriptIcon
LuaTreeGitDirty
LuaTreeGitStaged
LuaTreeGitMerge
LuaTreeGitRenamed
LuaTreeGitNew
vim:tw=78:ts=8:noet:ft=help:norl:

View File

@@ -10,6 +10,7 @@ g:lua_tree_side nvim-tree-lua.txt /*g:lua_tree_side*
g:lua_tree_size nvim-tree-lua.txt /*g:lua_tree_size*
nvim-tree-commands nvim-tree-lua.txt /*nvim-tree-commands*
nvim-tree-features nvim-tree-lua.txt /*nvim-tree-features*
nvim-tree-highlight nvim-tree-lua.txt /*nvim-tree-highlight*
nvim-tree-info nvim-tree-lua.txt /*nvim-tree-info*
nvim-tree-introduction nvim-tree-lua.txt /*nvim-tree-introduction*
nvim-tree-keybindings nvim-tree-lua.txt /*nvim-tree-keybindings*