mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Allow highlighting more than one flag. (#908)
This commit is contained in:
committed by
Phil Runninger
parent
8d005db94f
commit
6fe967b3b3
@@ -33,8 +33,8 @@ exec 'syn match NERDTreeFile #^[^"\.'.s:dirArrows.'] *[^'.s:dirArrows.']*# cont
|
|||||||
"highlighting for readonly files
|
"highlighting for readonly files
|
||||||
exec 'syn match NERDTreeRO # *\zs.*\ze \['.g:NERDTreeGlyphReadOnly.'\]# contains=NERDTreeIgnore,NERDTreeBookmark,NERDTreeFile'
|
exec 'syn match NERDTreeRO # *\zs.*\ze \['.g:NERDTreeGlyphReadOnly.'\]# contains=NERDTreeIgnore,NERDTreeBookmark,NERDTreeFile'
|
||||||
|
|
||||||
syn match NERDTreeFlags #^ *\zs\[.\]# containedin=NERDTreeFile,NERDTreeExecFile
|
syn match NERDTreeFlags #^ *\zs\[[^\]]*\]# containedin=NERDTreeFile,NERDTreeExecFile
|
||||||
syn match NERDTreeFlags #\[.\]# containedin=NERDTreeDir
|
syn match NERDTreeFlags #\[[^\]]*\]# containedin=NERDTreeDir
|
||||||
|
|
||||||
"highlighing to conceal the delimiter around the file/dir name
|
"highlighing to conceal the delimiter around the file/dir name
|
||||||
if has("conceal")
|
if has("conceal")
|
||||||
|
|||||||
Reference in New Issue
Block a user