summaryrefslogtreecommitdiff
path: root/queries/julia
AgeCommit message (Collapse)Author
2022-11-12julia: update queries to parser changeChristian Clason
2022-11-06fix: update julia queries to parser changeChristian Clason
2022-11-02refactor julia localsSergio Alejandro Vargas
2022-11-02refactor(highlights/julia): Update definitionsSergio Alejandro Vargas
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
2022-10-12fix(julia): remove highlight query for constantsFredrik Ekre
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.
2022-08-03Split func/method definition from calls in julia highlighting querylfenzo
2022-07-16highlights(julia): add "mutable" keywordStephan Seitz
2022-06-01feat(highlights/julia): make operators visibleSergio Alejandro Vargas
See tree-sitter/tree-sitter-julia#34
2022-04-16highlights(julia): Update literalsSergio Alejandro Vargas
Add queries for: - Character literals - Escape sequences - NaNs, Infs and missing Remove highlight to identifiers in coefficient expressions. Update other literals to match grammar.
2022-04-15julia: update queries to parser changesChristian Clason
2022-02-07feat(highlights/julia): Add missing highlights (#2464)Sergio A. Vargas
- Add highlights for: + command strings + abstract type definitions + module `end` delimiters - Distinguish `:` in quotes and ranges (it's already highlighted differently in ternary expressions).
2022-01-13highlights(julia): add highlight for block commentskoalp
2021-12-22Update queriesSantos Gallegos
- Don't use the old form for predicates - Update some invalid queries
2021-11-02chore: fix typosDundar Göc
2021-07-07Add exception handling branchesSergio Alejandro Vargas
2021-07-07Update Julia fold queriesSergio Alejandro Vargas
2021-07-07Add Julia indent queriesSergio Alejandro Vargas
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-06-25Use #any-of? instead of #match? where posibleJoakker
2021-05-31Improve check-queries (#1253)Santos Gallegos
- 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.
2021-05-16Add Julia queriesSergio Alejandro Vargas
2021-05-07Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
2021-04-28Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos
* 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
2021-04-23highlights(julia): add "type"/"primitive" keywordStephan Seitz
2021-04-23highlights(julia): add punctuationStephan Seitz
2021-04-22fix(highlights): always highlight ternary operator as operatorThomas Vigouroux
2021-03-12Add comment parser to highlight comment tags (#893)Santos Gallegos
Closes #236
2021-03-04Highlight Julia symbol expressions as TSSymbolDennis B
2021-01-03Julia highlights: Add markdown injection for docstringsStephan Seitz
2021-01-03Add Julia highlights (coauthor: @mroavi)Stephan Seitz