Blaž Hrastnik
aad5f6a5e2
queries: Update ld, strace
2024-05-20 19:12:53 +09:00
Blaž Hrastnik
0fbfc0cc8d
queries: Update vhs
2024-05-20 19:12:53 +09:00
Blaž Hrastnik
de0618186c
queries: Update cel
2024-05-20 19:12:53 +09:00
Blaž Hrastnik
44605c4dce
queries: Reorder scheme
2024-05-20 19:12:53 +09:00
Blaž Hrastnik
974303e200
queries: Tweak capnp
2024-05-20 19:12:53 +09:00
Iorvethe
bd9cfbb61d
Fix #match?
predicates in julia queries ( #10793 )
2024-05-19 18:29:53 +09:00
Iorvethe
951b454a33
Update tree-sitter-julia ( #10031 )
...
Update julia parser to latest version, along with:
- updating the queries,
- pulling changes from `nvim-treesitter`’s queries (as the maintainters
of the parser update the queries there),
- reversing the queries’ order to be compatible with upstream.
2024-05-17 20:32:40 +09:00
postsolar
0364f7c879
Reverse Nix highlights queries
2024-05-17 20:29:59 +09:00
postsolar
132d388444
Update Haskell highlight queries in light of reversing precedence ordering
2024-05-17 20:29:59 +09:00
postsolar
96688a5915
Update PureScript highlight queries in light of reversing queries precedence order
...
This commit adapts PureScript highlight queries to match upcoming changes in Helix which will make queries matching order go from more to general to more specific, the opposite of previous order.
2024-05-17 20:29:59 +09:00
Michael Davis
c75179d921
WIP: Reverse highlight queries
2024-05-17 20:29:57 +09:00
Dmitry Salin
889bbefeb3
Add support for Mojo ( #10743 )
...
* Add support for Mojo
* Update grammar
* Fix queries
* Fix docs
* Use inheritance for some files
2024-05-15 16:24:57 +02:00
Valentin B
380c7adcc0
feat(solidity): add missing operators for highlights ( #10757 )
...
* feat(solidity): add missing operators for highlights
* fix(solidity): remove invalid operator from highlight queries
* Revert "fix(solidity): remove invalid operator from highlight queries"
This reverts commit 466f38350c
.
* feat(solidity): add highlight query for revert statements with custom errors
* feat(solidity): more precise matching for revert statements
2024-05-14 17:53:59 +09:00
Chris
81d4cbc66e
Update Odin tree sitter grammar ( #10698 )
...
* Replace Odin grammar source
* Update Odin highlights
* Update Odin indents
* Update Odin injections
2024-05-07 18:14:55 +02:00
Yorick Peterse
b437b8b0ee
Add support for Inko ( #10656 )
...
This adds formatting and Tree-sitter support for Inko
(https://inko-lang.org/ ).
2024-05-06 18:04:32 +02:00
Arthur D
295a9a95ce
feat: add support for gjs and gts ( #9940 )
2024-05-06 18:04:08 +02:00
Vladyslav Karasov
6876f923d5
lang(json): make field key highlighting consistent with toml and yaml ( #10676 )
2024-05-06 17:11:09 +02:00
Matthew Pomes
7e13213e74
Add is not
and not in
to python syntax ( #10647 )
2024-05-03 12:39:02 +02:00
Luv-Ray
752ed8eb15
add try
keyword to rust highlights ( #10641 )
2024-04-30 13:13:27 +09:00
TobiEiss
d8701bfd1e
add textobjects queries for hurl ( #10594 )
...
* add textobjects queries comment and function
* update doc for hurl lang support
* switch entry.inner to entry.outer
* switch to function.inside
---------
Co-authored-by: Tobias Eiß <te@clarilab.de>
2024-04-29 18:17:46 +02:00
tingerrr
eeb8782c54
Add comment injection to typst queries ( #10628 )
2024-04-29 17:44:20 +02:00
Erasin Wang
724a96abc8
Add pest support ( #10616 )
...
Support [pest-parser](https://github.com/pest-parser )
- [pest-language-server](https://github.com/pest-parser/pest-ide-tools )
- [tree-sitter-pest](https://github.com/pest-parser/tree-sitter-pest )
close #7878
2024-04-29 17:44:03 +02:00
Elizabeth
bc03b6b5fe
Fixed ECMAScript private member highlighting ( #10554 )
2024-04-27 21:55:12 +02:00
Chris Sergienko
345e687573
feat: update bash grammar to latest tree-sitter-bash rev ( #10526 )
2024-04-20 07:41:55 -05:00
Blaž Hrastnik
f06a166962
Add Move language support
2024-04-18 14:57:23 +09:00
Gaëtan Lehmann
ab203b5f53
update earthfile grammar and highlight queries ( #10489 )
2024-04-17 20:15:16 +09:00
Clara Smyth
43dff1c772
Fix: Svelte queries ( #10487 )
2024-04-16 23:56:43 +02:00
Idobenhamo
68765f51c9
Support Typst 0.11 ( #10321 )
...
* Update the tree sitter to support Typst 0.11 and changed the lsp to Tinymist
* Fixed
* Added typst-lsp & tinymist
---------
Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
2024-04-16 16:00:13 +02:00
Alexis-Lapierre
8256ca7bc3
Add support for Xena OpenAutomation files ( #10448 )
...
Add support for .xtc/.xoa/.xpc files
* XTC stand for Xena Traffic Configuration
* XOA stand for Xena OpenAutomation
* XPC stand for Xena Port Configuration
Theses three file time seems to be the most common file extension I
encountered in the wild
2024-04-16 15:33:50 +02:00
Pedro Fedricci
0546273570
chore: update tree-sitter-rust to v0.21.0 ( #10365 )
...
* chore: update tree-sitter-rust to 0.21.0
* fix: pretty print and textobject tests
2024-04-15 18:07:15 +02:00
Matthew Toohey
081f7d0bd8
Update tree-sitter-ld and highlights ( #10379 )
2024-04-13 02:32:24 +02:00
Alexander Brevig
009a5498ca
add LDIF support ( #10330 )
...
* feat(lang): add LDIF support
* style: no unnecessary glob
* Update runtime/queries/ldif/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-04-11 17:17:44 +02:00
Blaž Hrastnik
4fc0a4dafc
Improve solidity highlighting
2024-04-11 16:16:47 +09:00
Valentin B
b8ddb2f114
feat(solidity): add textobject queries for solidity ( #10318 )
...
* feat: add textobject queries for solidity
* feat(solidity): add parameter textobject query for call expressions
* feat(solidity): add more textobject queries for parameters
* feat(solidity): add yul function textobject query
* feat(solidity): add textobject query for emit statement arguments
* feat(solidity): add textobject query for revert call arguments
* feat(solidity): update tree-sitter grammar and fix typo
* docs: update auto-generated docs
* fix(solidity): fix identifiers highlight query priority
* feat(solidity): add "abstract" to keywords list
* feat(solidity): add highlight query for type alias
* feat(solidity): add variable builtin highlight queries
2024-04-09 16:42:51 +02:00
Gary Miller
0da809c981
feat: Add ADL language support ( #10029 )
...
* feat: Add ADL language support
* removed error match & change captures to match https://docs.helix-editor.com/master/themes.html\#syntax-highlighting
* fixes to grammar, highlight changes based on PR and grammar fixes
2024-04-08 04:45:20 +02:00
Matthew Toohey
a2ee2e66f2
Add koka language server and update grammar ( #10119 )
2024-04-05 18:53:07 +09:00
Karem Abdul-Samad
d053886fe3
Add new keyword as per PEP 695 ( #10165 )
2024-04-05 02:22:41 +02:00
Aito Stukas
5f44890176
Remove duplicate keyword highlight for Python 'and' ( #10160 )
2024-04-04 19:12:19 -05:00
Eloi Torrents
88f2931153
Add tcl highlighting ( #9837 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-04-04 03:31:00 +02:00
Angus Dippenaar
e0ec34421b
languages: update templ ( #10114 )
2024-04-03 10:31:44 +09:00
Gaëtan Lehmann
226b2755fb
add earthfile language configuration ( #10111 )
2024-04-03 10:30:15 +09:00
Manuel Mendez
4b236f30db
Add Buildkite command/commands support to yaml injections ( #10090 )
...
* Use any-of instead of match in yaml injections
Go back to original intent when this code was first written now that the
tree-sitter version used supports any-of?.
* yaml/injections: Add injection for Buildkite
Buildkite uses `command` (`commands` is an alias) to define the
command(s) to run for the step.
2024-04-02 02:48:08 +02:00
Daniel S Poulin
1abb64e48d
Add textobject for entries/elements of list-like things ( #8150 )
2024-03-31 11:53:15 -05:00
Ni
0c3bc46ac4
added ../gleam/injections.scm ( #10062 )
...
Co-authored-by: Ni <ni@superboring.net>
2024-03-31 14:48:29 +02:00
Pascal Eberhard
9a80f7203d
add initial support for bitbake language ( #10010 )
...
Signed-off-by: Pascal Eberhard <pascal.eberhard@se.com>
2024-03-31 14:16:19 +02:00
Joe
7ec509e2f9
Add injections for GraphQL and ERB in Ruby ( #10036 )
2024-03-29 10:45:17 +09:00
Vladyslav Karasov
f21efc7a2f
fix: don't highlight colons (:) in comments ( #10014 )
2024-03-27 14:31:35 +01:00
Novus Nota
2d9e336f64
feat: Add Ohm
language support ( #9991 )
...
* feat: Add `Ohm` language support
Hope this commit makes it into release :)
* Update runtime/queries/ohm/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* chore: final newline
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-03-24 23:30:59 +01:00
Michael Davis
f5d95de227
C++: Improve parameter highlighting
...
This adds parameter highlighting for reference parameters and defaulted
parameters. For example:
```cpp
auto strip_prefix_only(std::string& s,
Hidden_Homonym skip_hidden_homonym = {}) const
-> Affixing_Result<Prefix>;
```
Previously both parameters were only highlighted as variables.
2024-03-22 00:20:29 +09:00
Michael Davis
c099dde2a7
Rust: Highlight extern crate aliases
...
For example `extern crate alloc as myalloc;`
2024-03-22 00:20:29 +09:00