Skip to content

Commit 4878fd9

Browse files
committed
feat(#2411): bookmark highlight and icon placement
1 parent 430ffee commit 4878fd9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/nvim-tree-lua.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ Following is the default configuration. See |nvim-tree-opts| for details.
389389
highlight_modified = "none",
390390
highlight_bookmarks = false,
391391
highlight_clipboard = true,
392+
highlight_bookmarks = false,
392393
indent_markers = {
393394
enable = false,
394395
inline_arrows = true,
@@ -851,6 +852,10 @@ Enable highlight for clipboard items using the `NvimTreeCutText` and
851852
`NvimTreeCopiedText` highlight groups.
852853
Type: `boolean`, Default: `true`
853854

855+
*nvim-tree.renderer.highlight_bookmarks*
856+
Highlight bookmarked using the `NvimTreeBookmarkText` highlight group.
857+
Type: `boolean`, Default `false`
858+
854859
*nvim-tree.renderer.indent_markers*
855860
Configuration options for tree indent markers.
856861

lua/nvim-tree.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
419419
highlight_modified = "none",
420420
highlight_bookmarks = false,
421421
highlight_clipboard = true,
422+
highlight_bookmarks = false,
422423
indent_markers = {
423424
enable = false,
424425
inline_arrows = true,

0 commit comments

Comments
 (0)