diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-03 17:46:53 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-03 17:46:53 +0100 |
| commit | 9e918d06adfdd680f153784e85657e45e9675ec6 (patch) | |
| tree | 3f411c1cc7b2ed7855ca1433e6ad1f0a7ab1701c /tests/typ | |
| parent | fd7b629f674e8ac66394c6cb8f945446003e4486 (diff) | |
Fix function call highlighting
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compiler/highlight.typ | 35 | ||||
| -rw-r--r-- | tests/typ/text/raw-code.typ (renamed from tests/typ/text/raw-highlight.typ) | 0 |
2 files changed, 6 insertions, 29 deletions
diff --git a/tests/typ/compiler/highlight.typ b/tests/typ/compiler/highlight.typ index 2dc2474a..db2420a7 100644 --- a/tests/typ/compiler/highlight.typ +++ b/tests/typ/compiler/highlight.typ @@ -10,9 +10,9 @@ #show module.func: func #show module.func: it => {} #foo(ident: ident) - #hello #hello() +#box[] #hello.world #hello.world() #hello().world() @@ -20,45 +20,22 @@ #hello.my.world() #hello.my().world #hello.my().world() - +#{ hello } +#{ hello() } +#{ hello.world() } $ hello $ $ hello() $ +$ box[] $ $ hello.world $ $ hello.world() $ -$ hello().world() $ -$ hello.my.world $ $ hello.my.world() $ -$ hello.my().world $ -$ hello.my().world() $ $ f_zeta(x), f_zeta(x)/1 $ - -$ emph(hello) $ -$ emph(hello()) $ -$ emph(hello.world) $ -$ emph(hello.world()) $ -$ emph(hello().world()) $ -$ emph(hello.my.world) $ $ emph(hello.my.world()) $ $ emph(hello.my().world) $ $ emph(hello.my().world()) $ - $ #hello $ $ #hello() $ $ #hello.world $ $ #hello.world() $ -$ #hello().world() $ -$ #hello.my.world $ -$ #hello.my.world() $ -$ #hello.my().world $ -$ #hello.my().world() $ - -#{ hello } -#{ hello() } -#{ hello.world } -#{ hello.world() } -#{ hello().world() } -#{ hello.my.world } -#{ hello.my.world() } -#{ hello.my().world } -#{ hello.my().world() } +$ #box[] $ ``` diff --git a/tests/typ/text/raw-highlight.typ b/tests/typ/text/raw-code.typ index d89f1c05..d89f1c05 100644 --- a/tests/typ/text/raw-highlight.typ +++ b/tests/typ/text/raw-code.typ |
