highlighting fix - allow numbers in bookmark names

This commit is contained in:
Martin Grenfell
2008-06-30 09:37:44 +12:00
parent 030cff2eda
commit 1998cef2b4

View File

@@ -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