docs: add highlight examples to quickstart, document pre-overhaul SpellCap groups (#2680)
* docs: add highlight examples to quickstart, document pre-overhaul SpellLocal groups * docs: add highlight examples to quickstart * docs: document pre-overhaul SpellCap groups * docs: document pre-overhaul SpellCap groups
This commit is contained in:
committed by
GitHub
parent
d35a8d5ec6
commit
030defdb65
17
README.md
17
README.md
@@ -112,6 +112,23 @@ require("nvim-tree").setup {
|
||||
}
|
||||
```
|
||||
|
||||
### Highlight
|
||||
|
||||
Run `:NvimTreeHiTest` to show all the highlights that nvim-tree uses.
|
||||
|
||||
They can be customised before or after setup is called and will be immediately
|
||||
applied at runtime. e.g.
|
||||
|
||||
```lua
|
||||
vim.cmd([[
|
||||
:hi NvimTreeExecFile guifg=#ffa0a0
|
||||
:hi NvimTreeSpecialFile guifg=#ff80ff gui=underline
|
||||
:hi NvimTreeSymlink guifg=Yellow gui=italic
|
||||
:hi link NvimTreeImageFile Title
|
||||
]])
|
||||
```
|
||||
See [:help nvim-tree-highlight](doc/nvim-tree-lua.txt) for details.
|
||||
|
||||
## Commands
|
||||
|
||||
See [:help nvim-tree-commands](doc/nvim-tree-lua.txt)
|
||||
|
||||
Reference in New Issue
Block a user