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 /queries | |
| 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
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/julia/highlights.scm | 5 | ||||
| -rw-r--r-- | queries/julia/injections.scm | 2 |
2 files changed, 3 insertions, 4 deletions
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)) |
