mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 20:33:50 -05:00
highlighting fix - allow numbers in bookmark names
This commit is contained in:
@@ -2563,7 +2563,7 @@ function! s:SetupSyntaxHighlighting()
|
||||
"highlighting for the bookmarks display
|
||||
syn match treeBookmarksLeader #^>#
|
||||
syn match treeBookmarksHeader #^>-\+Bookmarks-\+# contains=treeBookmarksLeader
|
||||
syn match treeBookmarkName #^>[a-zA-Z_]\{-} #he=e-1 contains=treeBookmarksLeader
|
||||
syn match treeBookmarkName #^>[a-zA-Z1-9_]\{-} #he=e-1 contains=treeBookmarksLeader
|
||||
syn match treeBookmark #^>.*$# contains=treeBookmarksLeader,treeBookmarkName
|
||||
|
||||
if g:NERDChristmasTree
|
||||
|
||||
Reference in New Issue
Block a user