aboutsummaryrefslogtreecommitdiffstats
path: root/queries/julia
Commit message (Collapse)AuthorAgeFilesLines
* feat(julia/highlights): Add `as` keywordSergio Alejandro Vargas2023-02-031-0/+2
|
* julia: add `if_clause` (#4204)Sergio A. Vargas2023-01-231-0/+2
| | | | | * fix(julia/highlights): Add `if_clause` * Update Julia lockfile revision
* julia: update parser and highlights (#4035)Sergio A. Vargas2022-12-271-16/+25
| | | | | | | | | | | | - Update patterns for type definitions: The grammar was updated to parse `abstract type` and `primitive type` as a single token. - Update @symbol capture to highlight quoted operators as symbols. - Add pattern to highlight adjoint operator. - Update patterns and captures for: - "keyword" operators (in, isa, where) - type operators (<:, >:) - Parametrized types.
* julia: update parser and highlights (#4016)Sergio A. Vargas2022-12-231-7/+3
| | | | - Replace `scoped_identifier` with `field_expression` in function names - Replace true and false with `boolean_literal`
* julia: update queries to parser change (#3956)Sergio A. Vargas2022-12-143-20/+21
|
* fix(julia): update queries to parser changeChristian Clason2022-12-032-5/+6
|
* highlights: create subscoping for ternary operatorStephan Seitz2022-12-021-1/+1
| | | | | | | | | | After https://github.com/nvim-treesitter/nvim-treesitter/issues/470, we decided to use `@conditional` for ternary operator instead of operator despite `@conditional` is documented for keywords only. A sub-scoping can make it easier for people to highlight this operator group differently. Also unify the usage of `@conditional...` across languages.
* injections(julia): add markdownObserverOfTime2022-11-271-3/+3
|
* injections: add more regex injectionsObserverOfTime2022-11-271-0/+5
|
* highlights(julia): use more specific groupsObserverOfTime2022-11-261-7/+13
|
* julia: update queries to parser changeChristian Clason2022-11-122-9/+2
|
* fix: update julia queries to parser changeChristian Clason2022-11-063-3/+3
|
* refactor julia localsSergio Alejandro Vargas2022-11-021-32/+56
|
* refactor(highlights/julia): Update definitionsSergio Alejandro Vargas2022-11-021-95/+134
| | | | | | | | | | | | | | | See https://github.com/tree-sitter/tree-sitter-julia/pull/54 Remove a bunch of patterns with `argument_list`. No longer necessary with `short_function_definition`. Other minor changes including: - Add boolean literals See https://github.com/tree-sitter/tree-sitter-julia/pull/44 - Update highlights for operators (for bindings, type operators, etc) - Update lockfile
* fix(julia): remove highlight query for constantsFredrik Ekre2022-10-121-2/+0
| | | | | | | | | This patch removes the highlight query for constant identifiers based on capitalization. This led to inconsistent highlighting since e.g. `AA` would be a regular identifier, but `AAA` a constant. It is indeed true that some constants are uppercase only identifiers, but there are also constants which doesn't follow this pattern. Since there are no rules about this it seems better to not try to guess.
* Split func/method definition from calls in julia highlighting querylfenzo2022-08-031-4/+4
|
* highlights(julia): add "mutable" keywordStephan Seitz2022-07-161-0/+1
|
* feat(highlights/julia): make operators visibleSergio Alejandro Vargas2022-06-011-23/+13
| | | | See tree-sitter/tree-sitter-julia#34
* highlights(julia): Update literalsSergio Alejandro Vargas2022-04-161-25/+33
| | | | | | | | | | | Add queries for: - Character literals - Escape sequences - NaNs, Infs and missing Remove highlight to identifiers in coefficient expressions. Update other literals to match grammar.
* julia: update queries to parser changesChristian Clason2022-04-153-12/+15
|
* feat(highlights/julia): Add missing highlights (#2464)Sergio A. Vargas2022-02-071-7/+13
| | | | | | | | | - Add highlights for: + command strings + abstract type definitions + module `end` delimiters - Distinguish `:` in quotes and ranges (it's already highlighted differently in ternary expressions).
* highlights(julia): add highlight for block commentskoalp2022-01-132-3/+9
|
* Update queriesSantos Gallegos2021-12-221-6/+6
| | | | | - Don't use the old form for predicates - Update some invalid queries
* chore: fix typosDundar Göc2021-11-021-1/+1
|
* Add exception handling branchesSergio Alejandro Vargas2021-07-071-0/+2
|
* Update Julia fold queriesSergio Alejandro Vargas2021-07-071-9/+15
|
* Add Julia indent queriesSergio Alejandro Vargas2021-07-071-0/+40
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* Use #any-of? instead of #match? where posibleJoakker2021-06-251-1/+1
|
* Improve check-queries (#1253)Santos Gallegos2021-05-311-2/+3
| | | | | - Add checks for injections. - Allow queries that start with [A-Z] for highlights only. - Don't stop on the first error, finish checking all queries.
* Add Julia queriesSergio Alejandro Vargas2021-05-161-0/+11
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* highlights(julia): add "type"/"primitive" keywordStephan Seitz2021-04-231-0/+2
|
* highlights(julia): add punctuationStephan Seitz2021-04-231-0/+2
|
* fix(highlights): always highlight ternary operator as operatorThomas Vigouroux2021-04-221-1/+1
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+2
| | | Closes #236
* Highlight Julia symbol expressions as TSSymbolDennis B2021-03-041-2/+1
|
* Julia highlights: Add markdown injection for docstringsStephan Seitz2021-01-031-0/+2
|
* Add Julia highlights (coauthor: @mroavi)Stephan Seitz2021-01-032-0/+236