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:
Sergio A. Vargas 2022-12-23 04:34:24 -05:00 committed by GitHub
parent 895d4a1202
commit 82cff67988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View file

@ -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