Christian Clason
692432df29
julia: update queries to parser change
2022-11-12 11:06:59 +01:00
Christian Clason
f6bc84dabd
fix: update julia queries to parser change
2022-11-06 11:12:20 +01:00
Sergio Alejandro Vargas
27bbb64f87
refactor(highlights/julia): Update definitions
...
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-11-02 23:08:11 +01:00
Fredrik Ekre
ef05f00814
fix(julia): remove highlight query for constants
...
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-10-12 18:17:21 +02:00
lfenzo
140393cfff
Split func/method definition from calls in julia highlighting query
2022-08-03 12:05:30 -07:00
Stephan Seitz
aabae39294
highlights(julia): add "mutable" keyword
2022-07-16 13:37:59 +02:00
Sergio Alejandro Vargas
6a4eb4e1c3
feat(highlights/julia): make operators visible
...
See tree-sitter/tree-sitter-julia#34
2022-06-01 09:26:50 +02:00
Sergio Alejandro Vargas
394e7f8048
highlights(julia): Update literals
...
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-16 00:28:00 +02:00
Christian Clason
b2807559e3
julia: update queries to parser changes
2022-04-15 12:15:18 +02:00
Sergio A. Vargas
3914267577
feat(highlights/julia): Add missing highlights ( #2464 )
...
- 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-02-07 22:16:58 +01:00
koalp
c6afb729b9
highlights(julia): add highlight for block comments
2022-01-13 17:56:06 +01:00
Santos Gallegos
56634f49ab
Update queries
...
- Don't use the old form for predicates
- Update some invalid queries
2021-12-22 21:17:28 +01:00
Dundar Göc
6a4fdb317d
chore: fix typos
2021-11-02 23:47:48 +01:00
antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02:00
Joakker
c699cc2e47
Use #any-of? instead of #match? where posible
2021-06-25 00:22:48 +02:00
Stephan Seitz
eca826b703
highlights(julia): add "type"/"primitive" keyword
2021-04-23 23:18:00 +02:00
Stephan Seitz
1353292813
highlights(julia): add punctuation
2021-04-23 23:18:00 +02:00
Thomas Vigouroux
9cfd3377e3
fix(highlights): always highlight ternary operator as operator
2021-04-22 17:50:56 +02:00
Dennis B
a74da044a8
Highlight Julia symbol expressions as TSSymbol
2021-03-04 06:19:40 +01:00
Stephan Seitz
dcf19d226b
Add Julia highlights (coauthor: @mroavi)
2021-01-03 19:05:02 +01:00