Commit graph

239 commits

Author SHA1 Message Date
zetashift
6e3ed7f0fa
Update Unison tree-sitter grammar for type changes and add indent queries ()
* Update Unison tree-sitter grammar for type changes

* Add indent queries for Unison

* Improve Unison indent queries
2024-02-04 02:10:20 +01:00
Novus Nota
d1054de3ce
feat: Add Tact language support ()
Re-submitting
2024-02-04 02:09:11 +01:00
melted-brownie
2058b3732c
Add text object queries for dart ()
* Add text object queries for dart

* Update runtime/queries/dart/textobjects.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Clean up internal capture name

---------

Co-authored-by: Sébastien Blondiau <sebastien.blondiau@iot-d.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-01-23 18:27:09 +01:00
woojiq
52a43bcdfc
bash, make, css: highlight and indent queries improvement ()
* highlights(bash): rework keywords section

* Use more specified scope when possible for keywords like @keyword.repeat.
* Add more keywords like "local" or "unsetenv".

Limitation:
* Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case.
* If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function".

* indents(css, make): add basic queries

* Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
2024-01-22 19:51:12 +01:00
Ryan Roden-Corrent
c8e58304bf
Add textobject queries for protobuf grammar. ()
Given `message Foo {string s = 1;}`
- `mat` selects `message Foo {string s = 1}`
- `mit` selects `{string s = 1;}`

Given `service SearchService { rpc Search(Req) returns (Resp); }
- `mit` or `mat` selects `Req` or `Resp`
- `mif` or `maf` selects `rpc Search(Req) returns (Resp);`
- `mit` selects { rpc Search(Req) returns (Resp); }`
- `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`
2024-01-08 03:08:41 +01:00
Jaakko Paju
73deba7044
Add textobject queries for Scala () 2024-01-08 03:05:10 +01:00
Jaakko Paju
a32d537d0a
Add HOCON language support ()
* Add HOCON language support

* Remove error query

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Change include query

* Fix query error

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-01-08 03:04:43 +01:00
Evan Richter
a98b8ddd1a
add smali language support () 2023-12-20 00:31:27 +01:00
0rphee
0a83d85124
Add haskell-language-server as lsp for cabal files () 2023-12-19 10:05:55 +09:00
JJ
c56cd6ee8b
Add support for Agda ()
* agda language support (wip)

* improve highlights

* disable agda-language-server

* minor addendum to documentation

* cargo xtask docgen

* oh i can just do this neat

* minor comment cleanup

* upstream updated

* imports: missed a spot

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-12-16 05:29:26 +01:00
Phil
b4571c292e
Add initial support for janet-lang ()
* Add initial support for janet-lang

* Use default roots for janet-lang
2023-12-15 15:54:25 +09:00
Tudyx
f8d261cd20
add log tree-sitter ()
* add log tree-sitter

* better highlight queries
2023-11-29 02:42:59 +01:00
ghashy
ff095ebd9b
DBML Language support ()
* DBML language support

* DBML language support, highlights.scm added

* DBML support

* Update runtime/queries/dbml/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/queries/dbml/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/queries/dbml/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* remove unnecessary block highlight

* remove unnecessary line

* remove index_block query

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-11-22 18:27:25 +01:00
Ethan Brierley
f1b9c19fa9
add LSP for nushell () 2023-11-22 18:24:34 +01:00
Dan Field
b306b25e82
GN language support ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-11-18 17:11:18 +09:00
Triton171
cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). () 2023-11-08 20:53:07 +01:00
cgahr
5c325fe342
replace kdl tree-sitter to fix highlighting ()
* replace kdl tree-sitter

* kdl: adopt highlights for new tree-sitter

* kdl: add indent queries

* kdl: add textobjects

* kdl: improve syntax highlighting

* kdl: update lang-support

* kdl: make indents more concise

---------

Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
2023-11-03 22:21:54 +01:00
Angus Dippenaar
44e03fa414
add golangci-lint-langserver ()
* languages add golangci-lint-langserver

* update docs
2023-10-29 17:53:15 +01:00
Frans Skarman
9eec9adb8f
Add LPF tree sitter ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-10-27 01:32:49 +02:00
Alexander Brevig
2906660119
Add typst language and lsp ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-10-27 01:27:42 +02:00
rsteube
764715a6c0
languages: add templ () 2023-10-21 14:15:18 +02:00
Kasper Juul Hermansen
5cb76e74f9
add lsp for graphql ()
graphql-lsp has quite the strange name upstream, the project is technically called graphql-language-service,
but the binary shipped is called graphql-lsp hence the strange naming scheme

Signed-off-by: kjuulh <contact@kjuulh.io>
2023-10-09 17:30:27 +02:00
Laurent Wandrebeck
bdf7937a59
Add ansible-language-server for yaml ()
* Update languages.toml

Add ansible support to yaml.

* cargo xtask docgen
2023-10-08 12:34:21 +02:00
DS/Charlie
93e54fa0c8
add support for json5 ()
* add json5 language

* docgen
2023-10-07 00:29:42 +02:00
NomisIV
cb39242783
Use Maskhjarnas tree-sitter-purescript () 2023-09-17 18:50:58 +02:00
Cyrill Schenkel
941dc6c614
add GNU assembler (gas) support ) 2023-09-16 02:04:44 +02:00
Jesse Luehrs
81d6d3ff0e
re-add indent and textobject queries for perl ()
* bump tree-sitter-perl version

need some grammar tweaks for the indent queries to function properly

* add indent queries for perl

* add textobject queries for perl
2023-09-10 21:27:04 +02:00
Sol Fisher Romanoff
aeaeb09f48
add gemini language support () 2023-08-27 00:43:18 +02:00
sigmaSd
cbfe8eef89
add strace highlighting ()
* feat: add strace tree sitter

* f
2023-08-15 09:38:57 +02:00
Jesse Luehrs
2caca1c4e9
Add pod highlighting () 2023-08-12 20:14:18 -05:00
Ivan Isekeev
57f093d836
Jinja language family syntax support ()
* feat: add jinja language support

* feat: add nunjucks language support

* feat: add to lang support book jinja and nunjucks languages
2023-08-09 16:26:58 +02:00
Jan9103
c0eae84073
feat: add todo.txt tree-sitter () 2023-08-09 15:35:29 +02:00
zetashift
294aa669a2
Add Unison support () 2023-08-08 20:50:49 +02:00
Petr Gajdůšek
7af37bb3b9
Add tree-sitter textobjects queries for bash ()
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.

This also updates the generated docs after adding the textobjects for bash.
2023-08-08 03:27:35 +09:00
woojiq
1d189820a1
feat(indent): add basic java indentation queries () 2023-08-07 08:48:54 -05:00
Jummit
f19793c2f8
Improve wren support () 2023-08-04 16:25:36 +02:00
Jimmy Zelinskie
325692a154
languages: add protobuf language servers ()
* languages: add bufls protobuf language server

* languages: add pbkit protobuf language server
2023-08-02 20:12:31 +02:00
lydiandy
57952c46a4
replace new lsp for vlang ()
* fix vlang grammar fetch and build fail

* update highlights.scm for v-analyzer

* Update languages.toml

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/queries/v/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* update scm for new lsp

* gen doc lang-support.md

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-07-31 01:04:55 +02:00
Jummit
9a4890f62b
Add wren support () 2023-07-28 18:13:51 +02:00
Jesse Luehrs
e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl () 2023-07-17 14:09:38 +09:00
kaashyapan
2ace6032e7
Add fsharp language support () 2023-07-15 22:58:17 +02:00
Erasin Wang
2cb00bcbc4
Support inlay-hints for svelteserver. () 2023-07-14 21:56:28 +09:00
Borys Lykah
7c338429f8
Add language support for persistent library syntax () 2023-07-09 19:17:01 +02:00
Álan Crístoffer
2c5288dafb
Replace MATLAB grammar () 2023-06-23 00:19:40 +02:00
Alexander Brevig
b4fe31cad6
Add forth-lsp and update tree-sitter-forth ()
* feat: add forth lsp and update tree sitter

* fix: update highlights
2023-06-16 23:12:29 +02:00
Ivan Svoboda
df094909d1
Webc language support ()
* feat: add webc language support

* feat: add to lang-support book webc
2023-06-13 17:41:30 +02:00
Selwyn
18e07addfd
Use Vue language server based on Volar () 2023-06-12 00:46:47 +09:00
Christoph Sax
d324feb072
Add support for language t32 ()
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
2023-06-07 18:01:25 -05:00
Alexander Brevig
78e8695420
Add support for Forth () 2023-06-06 08:14:34 -05:00
Ivan Tkachuk
2022e6175b
Add blueprint language ()
* Add blueprint tree-sitter support

* Add blueprint lsp support

* Run cargo xtask docgen
2023-06-05 10:40:14 +02:00