Skip to content

Commit 9ea3098

Browse files
committed
Refactor comments on vimscript file
1 parent 4d0fd81 commit 9ea3098

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

after/syntax/nerdtree.vim

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,10 @@ if exists('g:NERDTreeLimitedSyntax') && !exists('g:NERDTreeSyntaxDisableDefaultE
433433
endif
434434

435435
let s:characters = '[ a-zA-Z0-9_\#\-\+\*\%\!\~\(\)\{\}\&\.\$\@]'
436-
" substitute will 'eat' single backlashes on the string
436+
" substitute will 'eliminate' single backlashes on the string
437437
let s:chars_double_lashes = substitute(s:characters, '\\', '\\\\', 'g')
438438

439439
" Extension colors
440-
441440
if !exists('g:NERDTreeExtensionHighlightColor')
442441
let g:NERDTreeExtensionHighlightColor = {}
443442
endif
@@ -522,7 +521,6 @@ for [key, val] in items(g:NERDTreeExactMatchHighlightColor)
522521
endfor
523522

524523
"Pattern Matches
525-
526524
if !exists('g:NERDTreePatternMatchHighlightColor')
527525
let g:NERDTreePatternMatchHighlightColor = {}
528526
endif
@@ -543,7 +541,6 @@ for [key, val] in items(g:NERDTreePatternMatchHighlightColor)
543541

544542
exec 'syn match '.label_identifier.' "\v\c'.sub_regexp.'" containedin=NERDTreeFile'
545543
exec 'syn match '.label_identifier.' "\v\c'.exec_sub_regexp.'" containedin=NERDTreeExecFile'
546-
" TODO: handle executable file
547544
exec 'hi def link '.label_identifier.' NERDTreeFile'
548545

549546
if exists("g:WebDevIconsUnicodeDecorateFileNodesPatternSymbols['".key."']")

0 commit comments

Comments
 (0)