From dcf46d07cc07c5f801bb8488502b2e7953e6e7c8 Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Wed, 5 Jul 2023 18:14:04 -0500 Subject: Update Julia queries --- lockfile.json | 2 +- queries/julia/highlights.scm | 5 ++--- queries/julia/injections.scm | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lockfile.json b/lockfile.json index 68863587d..b53a86fd2 100644 --- a/lockfile.json +++ b/lockfile.json @@ -270,7 +270,7 @@ "revision": "fdc775714afa27fdef823adbaba6ab98f5ae66f2" }, "julia": { - "revision": "4d4dc7d8a4ad3856200a9ef151f9056fc14cec8b" + "revision": "8e5ce1e5a96e8dfe0b0eee74633f5ba2766bf48b" }, "kdl": { "revision": "e180e05132c4cb229a8ba679b298790ef1eca77c" diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index 53c8aeb27..4b83f1714 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -48,7 +48,7 @@ ;; Builtins ((identifier) @function.builtin - (#any-of? @function.builtin + (#any-of? @function.builtin "_abstracttype" "_apply_iterate" "_apply_pure" "_call_in_world" "_call_in_world_total" "_call_latest" "_equiv_typedef" "_expr" "_primitivetype" "_setsuper!" "_structtype" "_typebody!" "_typevar" "applicable" "apply_type" "arrayref" "arrayset" "arraysize" @@ -85,7 +85,6 @@ (struct_definition name: (identifier) @type) (type_clause - ["<:" ">:"] @operator [(identifier) @type (field_expression (identifier) @type .)]) @@ -288,7 +287,7 @@ (struct_definition) (function_definition) (assignment) - (const_declaration) + (const_statement) ]) [ diff --git a/queries/julia/injections.scm b/queries/julia/injections.scm index 259395da5..435e5f0fb 100644 --- a/queries/julia/injections.scm +++ b/queries/julia/injections.scm @@ -6,7 +6,7 @@ (struct_definition) (function_definition) (assignment) - (const_declaration) + (const_statement) ] (#lua-match? @markdown "^\"\"\"") (#offset! @markdown 0 3 0 -3)) -- cgit v1.2.3-70-g09d2