summary refs log tree commit diff stats
path: root/nimsuggest/tests/tmacro_highlight.nim
blob: 6f5b5e8a70b074e6049c280c13bc50cc378ff2fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
macro a(b: string): untyped = discard

a "string"#[!]#

discard """
$nimsuggest --tester $file
>highlight $1
highlight;;skMacro;;1;;6;;1
highlight;;skType;;1;;11;;6
highlight;;skType;;1;;20;;7
highlight;;skMacro;;3;;0;;1
highlight;;skMacro;;3;;0;;1
"""