mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
julia: update parser and highlights (#4016)
- Replace `scoped_identifier` with `field_expression` in function names - Replace true and false with `boolean_literal`
This commit is contained in:
parent
895d4a1202
commit
82cff67988
2 changed files with 4 additions and 8 deletions
|
|
@ -30,9 +30,9 @@
|
|||
name: (identifier) @function)
|
||||
|
||||
(function_definition
|
||||
name: (scoped_identifier (identifier) @function .))
|
||||
name: (field_expression (identifier) @function .))
|
||||
(short_function_definition
|
||||
name: (scoped_identifier (identifier) @function .))
|
||||
name: (field_expression (identifier) @function .))
|
||||
|
||||
;; calls
|
||||
|
||||
|
|
@ -191,11 +191,7 @@
|
|||
|
||||
;;; Literals
|
||||
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
||||
(boolean_literal) @boolean
|
||||
(integer_literal) @number
|
||||
(float_literal) @float
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue