From 5514c596311c1effc8a84261ef93f048fe1bb8c6 Mon Sep 17 00:00:00 2001 From: Antonios Hadjigeorgalis Date: Thu, 23 Aug 2018 13:14:41 -0400 Subject: [PATCH] Highlight Todos embedded in comments --- syntax/solidity.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/solidity.vim b/syntax/solidity.vim index 2abd11c7..04969caf 100644 --- a/syntax/solidity.vim +++ b/syntax/solidity.vim @@ -143,6 +143,6 @@ syn region solLineComment start=+\/\/+ end=+$+ contains=solCommentTodo,@S syn region solLineComment start=+^\s*\/\/+ skip=+\n\s*\/\/+ end=+$+ contains=solCommentTodo,@Spell fold syn region solComment start="/\*" end="\*/" contains=solCommentTodo,@Spell fold -hi def link solCommentTodo Comment +hi def link solCommentTodo Todo hi def link solLineComment Comment hi def link solComment Comment