aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
* Use Nu language for NUON files (#9839)Aidan Gauland2024-03-10
|
* add linker script language (#9835)Matthew Toohey2024-03-09
|
* fix: close #9771 fix comments with `(` and `)` (#9800)Alexander Brevig2024-03-08
| | | | | | | | | * fix: close #9771 update OCaml * fix: no longer match on ( ) as the underlying grammar handles these * fix: implement excellent corrections from review * fix: module -> namespace to match theme scopes
* Add PowerShell highlighting (#9827)Chris2024-03-07
|
* feat(languages): add support for `*.Dockerfile` `file-types` naming ↵RoloEdits2024-03-03
| | | | | | | convention (#9772) Current `file-types` only supports up to a `Dockerfile.frontend` naming scheme. With these changes `frontend.Dockerfile` now gives proper highlights and lsp actions.
* languages.toml: add elvish shebang (#9779)Malpha2024-03-02
|
* Fix bug 9703 by commenting out the wrong command (#9778)Marcin Drzymala2024-03-02
| | | | | | | * Fix bug 9703 by commenting out the wrong command This fixes issue https://github.com/helix-editor/helix/issues/9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* feat: Add markdown-oxide language server (#9758)Felix Zeller2024-03-01
|
* Mark GTK builder ui files as XML (#9754)Keir Lawson2024-02-29
|
* Switch Nim tree-sitter queries to alaviss/tree-sitter-nim (#9722)JJ2024-02-29
|
* update languages.toml: tree-sitter-lua grammar (#9727)Brian Dorsey2024-02-28
| | | | | | | | | | | | | | | | | | * update languages.toml: tree-sitter-lua grammar repo has moved, use new URL and the rev of the latest release (v0.0.19) * update highlight queries a novice attempt to port query updates from the source repo to Helix captures and ordering * Apply suggestions from code review Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add support for pde files (#9741)Chris2024-02-28
|
* toggling of block comments (#4718)Gabriel Dinner-David2024-02-27
|
* add fidl support (#9713)巢鹏2024-02-27
|
* slint: Update SHA of tree-sitter parser (#9698)Tobias Hunger2024-02-26
|
* Bump tree-sitter-sql (#9634)DS/Charlie2024-02-24
|
* Add osm and osc extensions to xml language filetypes (#9697)Jake Low2024-02-24
|
* Use groovy support when editing Gradle files (#9681)Benedikt Ritter2024-02-21
| | | | | | | | The Gradle build tool provides two DSLs for configuring builds. On is based on Groovy and Gradle build files written in Gradle Groovy DSL use *.gradle file ending. This change adds `gradle` to the supported file types of the groovy language configuration.
* Add Groovy grammar (#9350)Volodymyr Chernetskyi2024-02-19
| | | | | | | | | | | | | | | | | | | | | * Add Groovy grammar * Rewrite Neovim captures into Helix for Groovy * Simplify Groovy injections Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Remove Neovim's spell from Groovy highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Apply suggestions to languages.toml * Escape backslash in groovy highlights.scm --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add docker-compose language (#9661)Malpha2024-02-18
| | | | | | | | | | | | | | | * languages: add docker-compose language it uses docker-compose-langserver as lsp And yaml for syntax highlighting, indents and injections * languages: add luajit as a shebang of lua This helps to provide syntax highlighting and other lua goodies when writing luajit * book(update): run cargo xtask docgen * since #8006 full filenames uses glob
* Add tmux.conf as a bash file type (#9653)Vince Varga2024-02-18
| | | | | | | | | | | | | | | * Add conf as a bash file type Tmux and tmux.conf is used widely in software developer circles. Having the tmux.conf file not have any syntax highlighting by default is (IMO) not ideal for an editor that otherwise "just works". * Use tmux.conf glob instead of simply conf for tmux Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Bump tree-sitter-erlang, add `*.app.src` file-type (#9627)Michael Davis2024-02-14
|
* Add support for Odin's formatter (#9537)Chris2024-02-12
|
* 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/