Commit Graph

683 Commits (a64dbf825fe99096ab6899551c391b55287d4c94)

Author SHA1 Message Date
Arturs Krumins aa1630a41a
Update Swift Grammar and Queries (#10802) 5 months ago
Zoey Hewll 44504b720b
add elisp support (#10644)
* add elisp support

* update queries for some constants
5 months ago
tingerrr 80e0e98e45
Add `py`, `hs`, `rs` and `typ` injection regexes (#10785)
* Add `py` as valid python injection regex

* Add `hs` and `rs` for `haskell` and `rust`

* Add `typ` injection regex for `typst`
5 months ago
Gaëtan Lehmann a801044152
update tree-sitter-earthfile to 0.5.3 (#10779) 6 months ago
Yorick Peterse f1c9580e4b
tree-sitter: update Inko grammar (#10805) 6 months ago
Dmitry Salin 889bbefeb3
Add support for Mojo (#10743)
* Add support for Mojo

* Update grammar

* Fix queries

* Fix docs

* Use inheritance for some files
6 months ago
Tobias Hunger 5fea7cd0cc
tree-sitter: Update slint grammar (#10749) 6 months ago
Chris 81d4cbc66e
Update Odin tree sitter grammar (#10698)
* Replace Odin grammar source

* Update Odin highlights

* Update Odin indents

* Update Odin injections
6 months ago
Ryan Roden-Corrent 0432d9cf14
lang(starlark): Add WORKSPACE glob. (#10713)
In addition to BUILD files, bazel repositories contain a WORKSPACE file,
which is also written in starlark.
See https://bazel.build/reference/be/workspace.
6 months ago
Yorick Peterse b437b8b0ee
Add support for Inko (#10656)
This adds formatting and Tree-sitter support for Inko
(https://inko-lang.org/).
7 months ago
Arthur D 295a9a95ce
feat: add support for gjs and gts (#9940) 7 months ago
Ashley Vaughn 61818996c6
remove ' and add ⟨⟩ in lean autopairs (#10688) 7 months ago
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
7 months ago
Keir Lawson 31248d4e2f
Enable metals inlay hints (#10597) 7 months ago
Yoav Lavi 50c90cb47c
Add support for highlighting any `.*ignore` file (#10579) 7 months ago
Chris Sergienko 345e687573
feat: update bash grammar to latest tree-sitter-bash rev (#10526) 7 months ago
Blaž Hrastnik f06a166962 Add Move language support 7 months ago
Gaëtan Lehmann ab203b5f53
update earthfile grammar and highlight queries (#10489) 7 months ago
Jonathan Lebon 36ee9ba7d6
languages/rust: add `rust-script` and `cargo` shebangs (#10484)
The former is one of the more popular forks of the original idea:

https://rust-script.org/

The latter is an RFC for folding that functionality into cargo itself,
available on nightly:

https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script
7 months ago
Kieran Moy 50470f755f
Add missing hyprlang support (#10383) 7 months ago
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>
7 months ago
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
7 months ago
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
7 months ago
Christopher Kaster 9df1266376
Add lldb-dap debugger support for Odin (#10175) 7 months ago
Matthew Toohey 081f7d0bd8
Update tree-sitter-ld and highlights (#10379) 7 months ago
Arthur c9ae694aff
fix(languages/helm): recognize _*.tpl as helm (#10344) 7 months ago
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>
7 months ago
blt-r b974716b92
Hightlight meson.options as meson file (#10323) 7 months ago
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
7 months ago
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
7 months ago
Pebrianz e663dafcd8
Add angular language server (#10166) 7 months ago
Ricardo Fernández Serrata 1ba5763a0c
recognize more files and shebangs (#10120)
* recognize `.node_repl_history` as JS

* recognize `bun` shebang

also add comments explaining Deno & Bun history files

* recognize `.python_history` file and `python3` shebang

* recognize more shells

* rm Py3 shebang

Co-authored-by: ath3 <45574139+ath3@users.noreply.github.com>

* rm non-standard deno/bun hist recognition

---------

Co-authored-by: ath3 <45574139+ath3@users.noreply.github.com>
8 months ago
Matthew Toohey a2ee2e66f2
Add koka language server and update grammar (#10119) 8 months ago
Blaž Hrastnik 5fece0054d
Disable todotxt grammar for files named "todo.txt"
The file name is too common and can unintentionally conflict. Users
should manually opt in.

Fixes #10113
8 months ago
Eloi Torrents 88f2931153
Add tcl highlighting (#9837)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Evgeniy Tatarkin e54e3f07cb
feat(languages): Tiltfile as starlark language (#10072) 8 months ago
Angus Dippenaar e0ec34421b
languages: update templ (#10114) 8 months ago
Gaëtan Lehmann 226b2755fb
add earthfile language configuration (#10111) 8 months ago
Sampo Siltanen 54844241ce
Add fsharp block comment tokens to languages.toml (#10108) 8 months ago
RoloEdits b24c465a08
uswd lldb-dab instead of lldb-dap in the default dap configuration (#10091)
`LLVM v18.0.0` changed the name here: llvm/llvm-project#69264

Current users of `lldb-vscode` not able to upgrade will have to create a
symlink so that `lldb-dap` links to `lldb-vscode`.

BREAKING CHANGE: debugger looks for `lldb-dap` rather than `lldb-vscode`

closes: #9964
8 months ago
Pascal Eberhard 9a80f7203d
add initial support for bitbake language (#10010)
Signed-off-by: Pascal Eberhard <pascal.eberhard@se.com>
8 months ago
Matouš Dzivjak 2533b08f64
feat(languages): .mkdn as markdown extension (#10065)
GitHub recognizes `.mkdn` as markdown files. Add `.mkdn` as a valid
file type for Markdown.
8 months ago
Chris 64c1de1988
Add main.odin to Odin roots (#9968) 8 months ago
Daniel Flanagan 527cbe656c
chore: update tree-sitter-markdown (#10039) 8 months ago
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>
8 months ago
David Else c9e34c556b
Add rclone.conf as a glob to make it behave as an ini file (#9959) 8 months ago
Michael Davis 9ceeea5a83 Update tree-sitter-gleam and highlights
This contains a few syntax fixes. The highlights have been updated as
well for reserved identifiers and escape sequences
8 months ago
Michael Davis fdcd461e65 Update tree-sitter-erlang and highlights
A few changes:

* 0-arity type specs like the following previously would not have the
  expected 'variable.parameter' highlighting for the return type:

    -spec foo() -> Value when Value :: term().

* Highlight module, type and function docs as documentation comments
  and inject markdown into them.

* Replace `#match?` predicates with `#any-of?` where possible.

* Remove custom auto-pairs. Now that Erlang uses markdown for
  documentation, the asciidoc-style backtick-singlequote pair is no
  longer useful.
8 months ago
Michael Davis 459eb9a4c1 Recognize 'mmd' as mermaid 8 months ago
Michael Davis 961025433d Update tree-sitter-git-commit
This commit has partial support for escapes within strings.
8 months ago