From 1998cef2b4b2f3f6ddba981239a9a96ac26ed4d4 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Mon, 30 Jun 2008 09:37:44 +1200 Subject: [PATCH] highlighting fix - allow numbers in bookmark names --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 4b02a2f..a602635 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -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