vim supports multiline comments
This commit is contained in:
parent
b422ca8677
commit
d1366aee74
@ -9,22 +9,34 @@ if exists("b:current_syntax")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
syn keyword musiqueVariableDeclaration var
|
syn keyword musiqueVariableDeclaration var
|
||||||
syn keyword musiqueOperators * + - / < <= == >= > !=
|
syn keyword musiqueOperators * + - / < <= == >= > != .
|
||||||
|
|
||||||
|
syn match musiqueParameterSplitter display "|"
|
||||||
|
syn match musiqueExpressionDelimiter display ";"
|
||||||
|
|
||||||
syn match musiqueInteger display "[0-9][0-9_]*"
|
syn match musiqueInteger display "[0-9][0-9_]*"
|
||||||
|
|
||||||
syn keyword musiqueConstant true false nil
|
syn keyword musiqueConstant true false nil
|
||||||
|
|
||||||
|
syn keyword musiqueDefaultBuiltins if len play
|
||||||
|
syn keyword musiqueLinuxBuiltins say
|
||||||
|
|
||||||
syn match musiqueComment "--.*$"
|
syn match musiqueComment "--.*$"
|
||||||
syn match musiqueComment "#!.*$"
|
syn match musiqueComment "#!.*$"
|
||||||
|
|
||||||
|
syn region musiqueComment start="----*" end="----*"
|
||||||
|
|
||||||
syn region musiqueBlock matchgroup=musiqueParen start="\[" skip="|.\{-}|" matchgroup=musiqueParen end="\]" fold transparent
|
syn region musiqueBlock matchgroup=musiqueParen start="\[" skip="|.\{-}|" matchgroup=musiqueParen end="\]" fold transparent
|
||||||
|
|
||||||
let b:current_syntax = "musique"
|
let b:current_syntax = "musique"
|
||||||
|
|
||||||
hi def link musiqueVariableDeclaration Define
|
hi def link musiqueVariableDeclaration Define
|
||||||
|
hi def link musiqueParameterSplitter Delimiter
|
||||||
|
hi def link musiqueExpressionDelimiter Delimiter
|
||||||
hi def link musiqueParen Delimiter
|
hi def link musiqueParen Delimiter
|
||||||
hi def link musiqueOperators Operator
|
hi def link musiqueOperators Operator
|
||||||
hi def link musiqueComment Comment
|
hi def link musiqueComment Comment
|
||||||
hi def link musiqueInteger Number
|
hi def link musiqueInteger Number
|
||||||
hi def link musiqueConstant Constant
|
hi def link musiqueConstant Constant
|
||||||
|
hi def link musiqueDefaultBuiltins Function
|
||||||
|
hi def link musiqueLinuxBuiltins Function
|
||||||
|
Loading…
Reference in New Issue
Block a user