aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
* Added "zon" file type to zig language section. (#9582)Tom Manner2024-02-12
| | | `build.zig.zon` is what 0.11.0 uses for external dependencies. The syntax is a subset of zig and can be highlighted and formatted like normal zig code.
* feat(languages): use `fish_indent` as the formatter for fishkpbaks2024-02-12
|
* feat(languages): add formatter for justkpbaks2024-02-12
|
* Add Hoon (#9190)iko2024-02-12
| | | | | | | | | | | | | | | * Added Hoon * Added highlights.scm * Updated docs * Update runtime/queries/hoon/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* languages: add CEL, SpiceDB schema language (#9296)Jimmy Zelinskie2024-02-12
| | | | | | | | | | | | | | | | | * languages: add CEL language and grammar * languages: add spicedb schema language * chore: docgen * runtime/queries: refine spicedb & cel highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * languages: update spicedb --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Updated Swift grammar, adding 'any' and 'await' keywords. (#9586)7ombie2024-02-12
|
* Add glob file type support (#8006)Galen Abell2024-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace FileType::Suffix with FileType::Glob Suffix is rather limited and cannot be used to match files which have semantic meaning based on location + file type (for example, Github Action workflow files). This patch adds support for a Glob FileType to replace Suffix, which encompasses the existing behavior & adds additional file matching functionality. Globs are standard Unix-style path globs, which are matched against the absolute path of the file. If the configured glob for a language is a relative glob (that is, it isn't an absolute path or already starts with a glob pattern), a glob pattern will be prepended to allow matching relative paths from any directory. The order of file type matching is also updated to first match on globs and then on extension. This is necessary as most cases where glob-matching is useful will have already been matched by an extension if glob matching is done last. * Convert file-types suffixes to globs * Use globs for filename matching Trying to match the file-type raw strings against both filename and extension leads to files with the same name as the extension having the incorrect syntax. * Match dockerfiles with suffixes It's common practice to add a suffix to dockerfiles based on their context, e.g. `Dockerfile.dev`, `Dockerfile.prod`, etc. * Make env filetype matching more generic Match on `.env` or any `.env.*` files. * Update docs * Use GlobSet to match all file type globs at once * Update todo.txt glob patterns * Consolidate language Configuration and Loader creation This is a refactor that improves the error handling for creating the `helix_core::syntax::Loader` from the default and user language configuration. * Fix integration tests * Add additional starlark file-type glob --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(languages): pkl (#9515)Matouš Dzivjak2024-02-09
| | | | | | | | * feat(languages): pkl Add [pkl](https://github.com/apple/pkl) language. Official documentation: https://pkl-lang.org/ * remove branch indent
* slint: Update treesitter parser and queries (#9551)Tobias Hunger2024-02-07
| | | | | * slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* Update Unison tree-sitter grammar for type changes and add indent queries ↵zetashift2024-02-04
| | | | | | | | | (#9505) * Update Unison tree-sitter grammar for type changes * Add indent queries for Unison * Improve Unison indent queries
* feat: Add `Tact` language support (#9512)Novus Nota2024-02-04
| | | Re-submitting
* Update grammars for Nushell to rev 358c4f50 (#9502)Devyn Cairns2024-02-04
|
* Use janet-simple grammar for Janet (#9247)sogaiu2024-01-28
| | | | | | | | | | | | | | | | | | * Use janet-simple grammar for Janet * Update book * Tweak language name and related * Rename janet-simple to janet in book * Remove spurious language section for janet * Drop quote_lit and qq_lit related highlighting --------- Co-authored-by: sogaiu <983021772@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* lang(git-ignore): add `helix/ignore` to git-ignore file types (#9447)Poliorcetics2024-01-27
|
* Update some grammars to a commit where the license file is included (#9279)blinxen2024-01-25
| | | | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update Typst Tree-Sitter grammar (#9403)Idobenhamo2024-01-23
| | | Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
* Highlight .bash_history as bash (#9401)Boris Verkhovskiy2024-01-22
|
* Update Scala tree-sitter grammar (#9348)Jaakko Paju2024-01-22
| | | | | | | * Update Scala tree-sitter grammar * Support block comments Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
* Support PureScript's new spago.yaml configs (#9362)Jeremy Brudvik2024-01-17
|
* Remove sourcehut tree-sitter grammars from default build (#9316)Michael Davis2024-01-11
| | | | | | | | | | | Sourcehut has outages occasionally that cause the CI and from-source builds to fail. It also doesn't setup redirects when a user renames themselves, so if a user that publishes a tree-sitter grammar we use changes their sourcehut name then it breaks the build and any prior builds using that grammar. For now let's remove them from the default build. It's a bandaid over a larger reliability and trust problem with the grammar repositories but it should fix the build for now.
* update comment grammar (#9253)Kirawi2024-01-09
|
* feat: update wren tree-sitter grammar (#8544)Greedwolf DSS2024-01-08
| | | Co-authored-by: masai.dss <masai.dss@bytedance.com>
* Add HOCON language support (#9203)Jaakko Paju2024-01-08
| | | | | | | | | | | | | | | * 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>
* Add auto-pairs to scheme language support (#9232)petrak@2024-01-04
| | | | | Currently, typing a single quote in a `.scm` file "helpfully" auto- completes a closing quote. This is because there is no auto-pairs section in the languages.toml. This commit adds that.
* Add .prettierrc to json file types (#9214)Jaakko Paju2024-01-02
|
* Add config to mark diagnostic sources as persistentPascal Kuthe2023-12-27
|
* Add .glif to XML file-types (#9130)romi2023-12-22
| | | | | | | | | `.glif` files are standard files in the type design industry. From the Unified Font Object specification website: The Glyph Interchange Format (GLIF) is a simple and clear XML representation of a single glyph. GLIF files typically have a .glif extension. https://unifiedfontobject.org/versions/ufo3/glyphs/glif/
* add smali language support (#9089)Evan Richter2023-12-19
|
* Add Avro schema file support (#9113)Lucas Wagler2023-12-19
|
* Add haskell-language-server as lsp for cabal files (#9111)0rphee2023-12-19
|
* Add support for Agda (#8285)JJ2023-12-16
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Change R markdown language name to fix language server detection (#9012)Matthew Toohey2023-12-15
|
* Add initial support for janet-lang (#9081)Phil2023-12-15
| | | | | * Add initial support for janet-lang * Use default roots for janet-lang
* chore: Update tree-sitter-d (#9021)Michal Rostecki2023-12-13
| | | | One of the included changes is gdamore/tree-sitter-d#22 which fixes the build of Helix when using clang as `CC`.
* Update gleam grammar and queries (#9003)Frederick Schwalbe2023-12-05
|
* Add .envrc.local and .envrc.private to env file-types (#8988)Manuel Mendez2023-12-05
|
* upgrade tree-sitter-python (#8976)Skyler Hawthorne2023-12-04
| | | supports new syntaxes from Python 3.12
* languages: update rescript grammar (#8962)Nan Zhong2023-12-04
| | | This bump fixes a build failure of the grammer with clang.
* add log tree-sitter (#8916)Tudyx2023-11-29
| | | | | * add log tree-sitter * better highlight queries
* Add musicxml to xml extensions (#8935)A-Walrus2023-11-29
|
* fix CI: tree-sitter-gemini user renamedBlaž Hrastnik2023-11-28
|
* DBML Language support (#8860)ghashy2023-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* add LSP for nushell (#8878)Ethan Brierley2023-11-22
|
* GN language support (#6969)Dan Field2023-11-18
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update some grammars to a commit where the license file is included (#8691)blinxen2023-11-18
|
* Remove 'roots' keys with default value from languages.tomlMichael Davis2023-11-14
|
* Highlight meson_options.txt as a meson file (#8794)blt__2023-11-12
|
* Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720)Triton1712023-11-08
|
* Update PureScript grammar (#8712)postsolar2023-11-05
|
* Update markdown grammar to v0.1.6MDeiml2023-11-05
|