aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
...
* feat: add Brewfile to Ruby file-types (#7629)Michael Goodness2023-07-14
|
* Support inlay-hints for svelteserver. (#7622)Erasin Wang2023-07-14
|
* Update Typescript, TSX and Svelte grammar, to latest tag (#6874)Jeppe Christiansen2023-07-14
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Register systemd files as ini (#7592)Arian Dehghani2023-07-12
|
* Add shebang for nushell files (#7606)Jorge Santiago2023-07-12
|
* Update dart commit in languages.toml (#7576)Queyrouzec2023-07-10
|
* Add language support for persistent library syntax (#7261)Borys Lykah2023-07-09
|
* Refactor queries for ecma based languages (#7207)Gammut2023-07-09
|
* highlight(matlab): Better UTF-8 handling. (#7532)Álan Crístoffer2023-07-09
|
* Update Nickel grammar (#7551)Erin van der Veen2023-07-06
|
* highlight(matlab): Many bug fixes and improvements (#7511)Álan Crístoffer2023-07-03
|
* Add .cppm file type to cpp language configuration (#7492)Chris Heyes2023-06-30
|
* Update tree-sitter-matlab (#7491)Álan Crístoffer2023-06-30
|
* highlight(matlab): Bumps tree-sitter-matlab commit. (#7442)Álan Crístoffer2023-06-24
|
* Replace MATLAB grammar (#7388)Álan Crístoffer2023-06-22
|
* highlight(sql): Update tree-sitter-sql to `98a7fc9` (#7387)LeoniePhiline2023-06-19
| | | | | * highlight(sql): Update tree-sitter-sql to 92018a3 * highlight(sql): Update tree-sitter-sql to 98a7fc9
* Add forth-lsp and update tree-sitter-forth (#7334)Alexander Brevig2023-06-16
| | | | | * feat: add forth lsp and update tree sitter * fix: update highlights
* Webc language support (#7290)Ivan Svoboda2023-06-13
| | | | | * feat: add webc language support * feat: add to lang-support book webc
* Use Vue language server based on Volar (#7312)Selwyn2023-06-11
|
* Support core mode for delve debugger (#7300)Vitalii Solodilov2023-06-10
|
* Fix C++ queries and update tree-sitter-cpp (#7285)Dimitri Sabadie2023-06-07
|
* Add support for language t32 (#7140)Christoph Sax2023-06-07
| | | Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
* Fix verilog grammar source repo and revision (#7262)blt__2023-06-07
|
* Add support for Forth (#7256)Alexander Brevig2023-06-06
|
* Recognize 'make' file-type as Makefile (#7212)Tobias Clasen2023-06-06
|
* Add blueprint language (#7213)Ivan Tkachuk2023-06-05
| | | | | | | * Add blueprint tree-sitter support * Add blueprint lsp support * Run cargo xtask docgen
* chore: update scala tree-sitter grammar (#7147)zetashift2023-05-30
| | | | | * chore: update scala tree-sitter grammar * Add locals.scm for Scala
* feat(languages): recognise `.gir` as XML (#7152)yvt2023-05-27
|
* languages: add .zimrc to bash filetypes (#7146)Jimmy Zelinskie2023-05-26
|
* Support hidden justfiles (#7088)William Etheredge2023-05-26
|
* Treat 'Vagrantfile' files as Ruby code (#7112)Brandon Sprague2023-05-26
| | | | | | | | | | `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.
* Update languages.toml for Nickel (#7059)Viktor Kleen2023-05-26
|
* fix compilationBlaž Hrastnik2023-05-26
|
* Drop old cairo grammar, alias to rust for nowBlaž Hrastnik2023-05-26
|
* feat(languages): recognise `Cargo.lock` as TOMLyvt2023-05-22
|
* Recognise XAML files as XML (#7083)Chris2023-05-20
|
* fix off-by-one git-commit rulers (#7072)Charles Hall2023-05-19
| | | Characters should maximally reside *inside* the ruler, not on top of it.
* Sort language servers table in languages.toml and rename language server 'R' ↵Philipp Mildenberger2023-05-18
| | | | to 'r'
* Adds support for multiple language servers per language.Philipp Mildenberger2023-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* languages.toml: recognize `gml` files. (#7055)gibbz002023-05-16
|
* languages.toml: recognize `geojson` files. (#7054)gibbz002023-05-16
|
* fix: update upstream tree-sitter-dockerfile (#6895)Vitalii Solodilov2023-05-12
| | | | | | | | | * fix: update upstream tree-sitter-dockerfile Fixes: #6797 * fix: review * fix: review
* Remove `tree-sitter-cabal` (#6996)Ollie Charles2023-05-09
|
* Treat .sty and .cls files as latex (#6986)Andrius Pukšta2023-05-08
|
* languages: add build.gradle.kts to java and scala roots (#6970)Diego Pontoriero2023-05-05
| | | | | Gradle scripts written in kotlin use a .kts extension: https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:scripts
* Add language server command for Crystal (#6948)taupiqueur2023-05-03
|
* Recognise Jupyter notebooks as JSON documents (#6927)Scott Stevenson2023-05-01
|
* Recognise poetry.lock as TOML (#6928)Scott Stevenson2023-05-01
|
* inject language based on file extension & shebang (#3970)Timothy DeHerrera2023-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * inject language based on file extension Nodes can now be captured with "injection.filename". If this capture contains a valid file extension known to Helix, then the content will be highlighted as that language. * inject language by shebang Nodes can now be captured with "injection.shebang". If this capture contains a valid shebang line known to Helix, then the content will be highlighted as the language the shebang calls for. * add documentation for language injection * nix: fix highlights The `@` is now highlighted properly on either side of the function arg. Also, extending the phases with `buildPhase = prev.buildPhase + ''''` is now highlighted properly. Fix highlighting of `''$` style escapes (requires tree-sitter-nix bump) Fix `inherit` highlighting. * simplify injection_for_match Split out injection pair logic into its own method to make the overall flow easier to follow. Also transform the top-level function into a method on a HighlightConfiguration. * markdown: add shebang injection query
* Change Odin grammar to `ap29600/tree-sitter-odin` (#6766)ap296002023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Change Odin grammar to `ap29600/tree-sitter-odin` The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source. * update queries * docgen * fix queries * Update runtime/queries/odin/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * remove `ERROR` query for `odin` * track the latest rev in `ap29600/tree-sitter-odin` * runtime/queries/odin/highlights.scm: update rune highlight class Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>