File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ Setup should be run in a lua file or in a lua heredoc [:help lua-heredoc](https:
62
62
vim .g .loaded_netrw = 1
63
63
vim .g .loaded_netrwPlugin = 1
64
64
65
+ -- set termguicolors to enable highlight groups
66
+ vim .opt .termguicolors = true
67
+
65
68
-- empty setup using defaults
66
69
require (" nvim-tree" ).setup ()
67
70
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ Setup should be run in a lua file or in a |lua-heredoc| if using in a vim file.
69
69
vim.g.loaded_netrw = 1
70
70
vim.g.loaded_netrwPlugin = 1
71
71
72
+ -- set termguicolors to enable highlight groups
73
+ vim.opt.termguicolors = true
74
+
72
75
-- empty setup using defaults
73
76
require("nvim-tree").setup()
74
77
@@ -1337,6 +1340,9 @@ Example (in your `init.vim`):
1337
1340
You should have 'termguicolors' enabled, otherwise, colors will not be
1338
1341
applied.
1339
1342
1343
+ To view the active highlight groups run `:so $VIMRUNTIME/syntax/hitest.vim`
1344
+ as per | :highlight |
1345
+
1340
1346
Default linked group follows name.
1341
1347
1342
1348
NvimTreeSymlink
You can’t perform that action at this time.
0 commit comments