Jummit
9a4890f62b
Add wren support ( #7765 )
2023-07-28 18:13:51 +02:00
Jesse Luehrs
e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl ( #7644 )
2023-07-17 14:09:38 +09:00
Doug Kelkhoff
79a8fd6249
Add a more file types for R ( #7633 )
2023-07-16 01:48:09 +02:00
kaashyapan
2ace6032e7
Add fsharp language support ( #7619 )
2023-07-15 22:58:17 +02:00
Michael Goodness
86bf0e00fe
feat: add Brewfile to Ruby file-types ( #7629 )
2023-07-14 18:57:36 +02:00
Erasin Wang
2cb00bcbc4
Support inlay-hints for svelteserver. ( #7622 )
2023-07-14 21:56:28 +09:00
Jeppe Christiansen
bc4f08febf
Update Typescript, TSX and Svelte grammar, to latest tag ( #6874 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-07-14 11:42:07 +09:00
Arian Dehghani
a5f7190614
Register systemd files as ini ( #7592 )
2023-07-12 13:40:58 +09:00
Jorge Santiago
9259c52606
Add shebang for nushell files ( #7606 )
2023-07-12 13:40:36 +09:00
Queyrouzec
f68956a306
Update dart commit in languages.toml ( #7576 )
2023-07-10 11:29:20 +09:00
Borys Lykah
7c338429f8
Add language support for persistent library syntax ( #7261 )
2023-07-09 19:17:01 +02:00
Gammut
607b426e26
Refactor queries for ecma based languages ( #7207 )
2023-07-09 18:35:32 +02:00
Álan Crístoffer
550192826b
highlight(matlab): Better UTF-8 handling. ( #7532 )
2023-07-09 17:08:29 +02:00
Erin van der Veen
3fb430257e
Update Nickel grammar ( #7551 )
2023-07-06 18:53:10 +02:00
Álan Crístoffer
457b389395
highlight(matlab): Many bug fixes and improvements ( #7511 )
2023-07-03 09:43:17 -05:00
Chris Heyes
aec1b997dd
Add .cppm file type to cpp language configuration ( #7492 )
2023-06-30 23:56:39 +02:00
Álan Crístoffer
78505e0149
Update tree-sitter-matlab ( #7491 )
2023-06-30 10:06:34 -05:00
Álan Crístoffer
08c0a23b79
highlight(matlab): Bumps tree-sitter-matlab commit. ( #7442 )
2023-06-24 15:20:42 +02:00
Álan Crístoffer
2c5288dafb
Replace MATLAB grammar ( #7388 )
2023-06-23 00:19:40 +02:00
LeoniePhiline
48ad9ae1bb
highlight(sql): Update tree-sitter-sql to 98a7fc9
( #7387 )
...
* highlight(sql): Update tree-sitter-sql to 92018a3
* highlight(sql): Update tree-sitter-sql to 98a7fc9
2023-06-20 00:04:40 +02:00
Alexander Brevig
b4fe31cad6
Add forth-lsp and update tree-sitter-forth ( #7334 )
...
* 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 ( #7290 )
...
* 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 ( #7312 )
2023-06-12 00:46:47 +09:00
Vitalii Solodilov
a981a2525d
Support core mode for delve debugger ( #7300 )
2023-06-10 02:31:02 +02:00
Dimitri Sabadie
31b8b728a2
Fix C++ queries and update tree-sitter-cpp ( #7285 )
2023-06-07 18:13:39 -05:00
Christoph Sax
d324feb072
Add support for language t32 ( #7140 )
...
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
2023-06-07 18:01:25 -05:00
blt__
ba691f4fb0
Fix verilog grammar source repo and revision ( #7262 )
2023-06-07 17:49:52 +09:00
Alexander Brevig
78e8695420
Add support for Forth ( #7256 )
2023-06-06 08:14:34 -05:00
Tobias Clasen
71688a387b
Recognize 'make' file-type as Makefile ( #7212 )
2023-06-06 08:13:27 -05:00
Ivan Tkachuk
2022e6175b
Add blueprint language ( #7213 )
...
* Add blueprint tree-sitter support
* Add blueprint lsp support
* Run cargo xtask docgen
2023-06-05 10:40:14 +02:00
zetashift
92380540b8
chore: update scala tree-sitter grammar ( #7147 )
...
* chore: update scala tree-sitter grammar
* Add locals.scm for Scala
2023-05-30 13:29:43 +02:00
yvt
3a8592abdb
feat(languages): recognise .gir
as XML ( #7152 )
2023-05-27 09:01:50 -05:00
Jimmy Zelinskie
b107814e39
languages: add .zimrc to bash filetypes ( #7146 )
2023-05-27 00:55:25 +02:00
William Etheredge
a2e11af608
Support hidden justfiles ( #7088 )
2023-05-26 10:43:48 +02:00
Brandon Sprague
16375cd94a
Treat 'Vagrantfile' files as Ruby code ( #7112 )
...
`Vagrantfile`s are configuration files for the [vagrant](https://www.vagrantup.com/ ) tool, and they are written in Ruby. Even as vagrant [is ported to Go](https://www.hashicorp.com/blog/toward-vagrant-3-0 ), `Vagrantfile`s [will be written in Ruby](https://developer.hashicorp.com/vagrant/docs/experimental/vagrant_go )
When a Vangrantfile is created, it starts with these lines:
```
```
But since Helix (quite reasonably) doesn't change editor behavior based on file contents, adding this to `languages.toml` seems like a reasonable way to get this functionality.
2023-05-26 10:43:15 +02:00
Viktor Kleen
0c21c227e1
Update languages.toml for Nickel ( #7059 )
2023-05-26 02:23:15 -05:00
Blaž Hrastnik
591629ec11
fix compilation
2023-05-26 13:35:03 +09:00
Blaž Hrastnik
c6d1430243
Drop old cairo grammar, alias to rust for now
2023-05-26 11:17:30 +09:00
yvt
16e0340b4a
feat(languages): recognise Cargo.lock
as TOML
2023-05-21 22:51:33 -04:00
Chris
d3cca0f357
Recognise XAML files as XML ( #7083 )
2023-05-20 02:38:55 +02:00
Charles Hall
e4a9bec562
fix off-by-one git-commit rulers ( #7072 )
...
Characters should maximally reside *inside* the ruler, not on top of it.
2023-05-20 01:29:06 +02:00
Philipp Mildenberger
b6d0e26814
Sort language servers table in languages.toml and rename language server 'R' to 'r'
2023-05-18 22:11:37 +02:00
Philipp Mildenberger
71551d395b
Adds support for multiple language servers per language.
...
Language Servers are now configured in a separate table in `languages.toml`:
```toml
[langauge-server.mylang-lsp]
command = "mylang-lsp"
args = ["--stdio"]
config = { provideFormatter = true }
[language-server.efm-lsp-prettier]
command = "efm-langserver"
[language-server.efm-lsp-prettier.config]
documentFormatting = true
languages = { typescript = [ { formatCommand ="prettier --stdin-filepath ${INPUT}", formatStdin = true } ] }
```
The language server for a language is configured like this (`typescript-language-server` is configured by default):
```toml
[[language]]
name = "typescript"
language-servers = [ { name = "efm-lsp-prettier", only-features = [ "format" ] }, "typescript-language-server" ]
```
or equivalent:
```toml
[[language]]
name = "typescript"
language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "efm-lsp-prettier" ]
```
Each requested LSP feature is priorized in the order of the `language-servers` array.
For example the first `goto-definition` supported language server (in this case `typescript-language-server`) will be taken for the relevant LSP request (command `goto_definition`).
If no `except-features` or `only-features` is given all features for the language server are enabled, as long as the language server supports these. If it doesn't the next language server which supports the feature is tried.
The list of supported features are:
- `format`
- `goto-definition`
- `goto-declaration`
- `goto-type-definition`
- `goto-reference`
- `goto-implementation`
- `signature-help`
- `hover`
- `document-highlight`
- `completion`
- `code-action`
- `workspace-command`
- `document-symbols`
- `workspace-symbols`
- `diagnostics`
- `rename-symbol`
- `inlay-hints`
Another side-effect/difference that comes with this PR, is that only one language server instance is started if different languages use the same language server.
2023-05-18 21:48:30 +02:00
gibbz00
6f135e58a3
languages.toml: recognize gml
files. ( #7055 )
2023-05-16 13:02:22 +09:00
gibbz00
e9efcebdb0
languages.toml: recognize geojson
files. ( #7054 )
2023-05-16 13:01:27 +09:00
Vitalii Solodilov
5938e2c0dc
fix: update upstream tree-sitter-dockerfile ( #6895 )
...
* fix: update upstream tree-sitter-dockerfile
Fixes : #6797
* fix: review
* fix: review
2023-05-12 03:29:06 +02:00
Ollie Charles
8424f387b5
Remove tree-sitter-cabal
( #6996 )
2023-05-09 21:31:22 +02:00
Andrius Pukšta
3a9e77934b
Treat .sty and .cls files as latex ( #6986 )
2023-05-08 19:11:23 +02:00
Diego Pontoriero
fc1e9a6ff9
languages: add build.gradle.kts to java and scala roots ( #6970 )
...
Gradle scripts written in kotlin use a .kts extension:
https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:scripts
2023-05-05 10:02:19 +09:00
taupiqueur
c49faf5681
Add language server command for Crystal ( #6948 )
2023-05-03 09:43:37 +09:00