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

@ -204,7 +204,7 @@
"revision": "505f5bd90053ae895aa3d6f2bac8071dd9abd8b2"
},
"julia": {
"revision": "36b099e9ea577f64ba53323115028dadd2991d2c"
"revision": "f254ff9c52e994f629a60821662917d2c6c0e8eb"
},
"kotlin": {
"revision": "b953dbdd05257fcb2b64bc4d9c1578fac12e3c28"

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