bugfix for read only node highlighting

previously, it wasnt highlighting the leading non-alphanumeric bits of RO files like   _foo.bar
This commit is contained in:
Martin Grenfell
2008-12-07 12:04:23 +13:00
parent 96215c5da6
commit 729abf8e9b

View File

@@ -2690,7 +2690,7 @@ function! s:setupSyntaxHighlighting()
syn match treeHelp #^".*# contains=treeHelpKey,treeHelpTitle,treeFlag,treeToggleOff,treeToggleOn,treeHelpCommand
"highlighting for readonly files
syn match treeRO #[\/0-9a-zA-Z]\+.*\[RO\]# contains=treeFlag,treeBookmark
syn match treeRO #.*\[RO\]#hs=s+2 contains=treeFlag,treeBookmark,treePart,treePartFile
"highlighting for sym links
syn match treeLink #[^-| `].* -> # contains=treeBookmark,treeOpenable,treeClosable,treeDirSlash