diff options
| author | koalp <koalp@alpaga.dev> | 2022-01-13 17:35:20 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-13 17:56:06 +0100 |
| commit | c6afb729b9f3dc0c9270acf9790a29b0d1df9b63 (patch) | |
| tree | eb13546d8d2f4d8ef079309ed0ba48698b6a3843 | |
| parent | Add a missing LaTeX hightlight. (diff) | |
| download | nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar.gz nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar.bz2 nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar.lz nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar.xz nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.tar.zst nvim-treesitter-c6afb729b9f3dc0c9270acf9790a29b0d1df9b63.zip | |
highlights(julia): add highlight for block comments
| -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 c1295622a..c20a37b39 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 be2412c06..77c503455 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 |
