commit d8d799a4d6d9be5d629c9e435069fcb0c7945f85
parent ec0fca4c7d4c540385a656b59ddb6f4954b271bb
Author: Caleb Maclennan <caleb@alerque.com>
Date: Tue, 31 Dec 2019 08:56:10 +0300
Fix VimL syntax error: escapes work differently outside quotes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/nerdtree.vim b/syntax/nerdtree.vim
@@ -27,7 +27,7 @@ exec 'syn match NERDTreeOpenable #' . escape(g:NERDTreeDirArrowExpandable, '~')
let s:dirArrows = escape(g:NERDTreeDirArrowCollapsible, '~]\-').escape(g:NERDTreeDirArrowExpandable, '~]\-')
exec 'syn match NERDTreeDir #[^'.s:dirArrows.' ].*/#'
-syn match NERDTreeExecFile #^ .*\*\($\| \)# contains=NERDTreeRO,NERDTreeBookmark
+syn match NERDTreeExecFile '^ .*\*\($\| \)' contains=NERDTreeRO,NERDTreeBookmark
exec 'syn match NERDTreeFile #^[^"\.'.s:dirArrows.'] *[^'.s:dirArrows.']*# contains=NERDTreeLink,NERDTreeRO,NERDTreeBookmark,NERDTreeExecFile'
"highlighting for readonly files