diff options
| author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2023-07-05 18:14:04 -0500 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-07-08 11:24:01 +0200 |
| commit | dcf46d07cc07c5f801bb8488502b2e7953e6e7c8 (patch) | |
| tree | dec321131879acdaebf02346fed8fb9e79502490 | |
| parent | Update README (diff) | |
| download | nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar.gz nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar.bz2 nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar.lz nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar.xz nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.tar.zst nvim-treesitter-dcf46d07cc07c5f801bb8488502b2e7953e6e7c8.zip | |
Update Julia queries
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/julia/highlights.scm | 5 | ||||
| -rw-r--r-- | 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)) |
