Skip to content

Commit 7e1c805

Browse files
author
steve
committed
Trying out the Vim region syntax for '#'-style comment
1 parent d5f5cb2 commit 7e1c805

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

syntax/bind-named.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ syn keyword named_ToDo xxx contained XXX FIXME TODO TODO: FIXME:
216216

217217
hi link namedComment namedHL_Comment
218218
syn match namedComment "//.*" contains=named_ToDo
219-
syn match namedComment "#.*" contains=named_ToDo
219+
" syn match namedComment \"#.*\" contains=named_ToDo
220+
syn region namedComment start=/#/ end=/$/ contains=named_ToDo
220221
syn region namedComment start="/\*" end="\*/" contains=named_ToDo
221222

222223
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""

0 commit comments

Comments
 (0)