mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -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
|
|
@ -204,7 +204,7 @@
|
||||||
"revision": "505f5bd90053ae895aa3d6f2bac8071dd9abd8b2"
|
"revision": "505f5bd90053ae895aa3d6f2bac8071dd9abd8b2"
|
||||||
},
|
},
|
||||||
"julia": {
|
"julia": {
|
||||||
"revision": "36b099e9ea577f64ba53323115028dadd2991d2c"
|
"revision": "f254ff9c52e994f629a60821662917d2c6c0e8eb"
|
||||||
},
|
},
|
||||||
"kotlin": {
|
"kotlin": {
|
||||||
"revision": "b953dbdd05257fcb2b64bc4d9c1578fac12e3c28"
|
"revision": "b953dbdd05257fcb2b64bc4d9c1578fac12e3c28"
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,9 @@
|
||||||
name: (identifier) @function)
|
name: (identifier) @function)
|
||||||
|
|
||||||
(function_definition
|
(function_definition
|
||||||
name: (scoped_identifier (identifier) @function .))
|
name: (field_expression (identifier) @function .))
|
||||||
(short_function_definition
|
(short_function_definition
|
||||||
name: (scoped_identifier (identifier) @function .))
|
name: (field_expression (identifier) @function .))
|
||||||
|
|
||||||
;; calls
|
;; calls
|
||||||
|
|
||||||
|
|
@ -191,11 +191,7 @@
|
||||||
|
|
||||||
;;; Literals
|
;;; Literals
|
||||||
|
|
||||||
[
|
(boolean_literal) @boolean
|
||||||
(true)
|
|
||||||
(false)
|
|
||||||
] @boolean
|
|
||||||
|
|
||||||
(integer_literal) @number
|
(integer_literal) @number
|
||||||
(float_literal) @float
|
(float_literal) @float
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue