Added //-style comments

This commit is contained in:
Bruce Hill 2021-02-07 18:48:51 -08:00
parent 82559ecbef
commit 85e131e0b1

View File

@ -12,9 +12,9 @@ syn sync minlines=100
"hi def link nomsuInterpDelim PreProc "hi def link nomsuInterpDelim PreProc
hi nomsuInterpDelim ctermfg=Gray hi nomsuInterpDelim ctermfg=Gray
"syn region nomsuOneLineComment start=/#/ end=/$/ syn region nomsuLineComment start=;//; end=/$/
"hi nomsuOneLineComment ctermfg=DarkBlue hi nomsuLineComment ctermfg=DarkBlue
"hi def link nomsuOneLineComment Comment hi def link nomsuLineComment Comment
syn region nomsuList start=/\[/ end=/\]/ contains=@nomsuAll syn region nomsuList start=/\[/ end=/\]/ contains=@nomsuAll
hi nomsuList ctermfg=Blue hi nomsuList ctermfg=Blue
@ -116,7 +116,7 @@ hi def link nomsuComment Comment
syn cluster nomsuExpr contains=nomsuParenGroup,nomsuText,nomsuIndentedText,nomsuVar, syn cluster nomsuExpr contains=nomsuParenGroup,nomsuText,nomsuIndentedText,nomsuVar,
\nomsuActionVar,nomsuNumber,nomsuDict,nomsuList,nomsuIndentedBlock \nomsuActionVar,nomsuNumber,nomsuDict,nomsuList,nomsuIndentedBlock
syn cluster nomsuAll contains=nomsuParenGroup,nomsuText,nomsuIndentedText,nomsuComment, syn cluster nomsuAll contains=nomsuParenGroup,nomsuText,nomsuIndentedText,nomsuComment,nomsuLineComment,
\ nomsuVar,nomsuActionVar,nomsuNumber,nomsuDict,nomsuList,nomsuIndentedBlock, \ nomsuVar,nomsuActionVar,nomsuNumber,nomsuDict,nomsuList,nomsuIndentedBlock,
\ nomsuColon,nomsuSemicolon,nomsuDotDot,nomsuWord,nomsuOpWord,nomsuComma,nomsuIndex \ nomsuColon,nomsuSemicolon,nomsuDotDot,nomsuWord,nomsuOpWord,nomsuComma,nomsuIndex