diff options
| -rw-r--r-- | queries/julia/highlights.scm | 7 | ||||
| -rw-r--r-- | queries/julia/injections.scm | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index c1295622..c20a37b3 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -67,7 +67,7 @@ (identifier)) @symbol ;; Parsing error! foo (::Type) gets parsed as two quote expressions -(argument_list +(argument_list (quote_expression (quote_expression (identifier) @type))) @@ -123,7 +123,10 @@ (function_definition ["function" "end"] @keyword.function) -(comment) @comment +[ + (comment) + (block_comment) +] @comment [ "const" diff --git a/queries/julia/injections.scm b/queries/julia/injections.scm index be2412c0..77c50345 100644 --- a/queries/julia/injections.scm +++ b/queries/julia/injections.scm @@ -2,4 +2,7 @@ ; ((triple_string) @markdown ; (#offset! @markdown 0 3 0 -3)) -(comment) @comment +[ + (comment) + (block_comment) +] @comment |
