mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
highlights(julia): add highlight for block comments
This commit is contained in:
parent
31fe7ee4f9
commit
c6afb729b9
2 changed files with 9 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -2,4 +2,7 @@
|
|||
; ((triple_string) @markdown
|
||||
; (#offset! @markdown 0 3 0 -3))
|
||||
|
||||
(comment) @comment
|
||||
[
|
||||
(comment)
|
||||
(block_comment)
|
||||
] @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue