aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
* feat: Add `Ohm` language support (#9991)Novus Nota2024-03-24
| | | | | | | | | | | | | | | * feat: Add `Ohm` language support Hope this commit makes it into release :) * Update runtime/queries/ohm/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * chore: final newline --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add rclone.conf as a glob to make it behave as an ini file (#9959)David Else2024-03-21
|
* Update tree-sitter-gleam and highlightsMichael Davis2024-03-21
| | | | | This contains a few syntax fixes. The highlights have been updated as well for reserved identifiers and escape sequences
* Update tree-sitter-erlang and highlightsMichael Davis2024-03-21
| | | | | | | | | | | | | | | | | | A few changes: * 0-arity type specs like the following previously would not have the expected 'variable.parameter' highlighting for the return type: -spec foo() -> Value when Value :: term(). * Highlight module, type and function docs as documentation comments and inject markdown into them. * Replace `#match?` predicates with `#any-of?` where possible. * Remove custom auto-pairs. Now that Erlang uses markdown for documentation, the asciidoc-style backtick-singlequote pair is no longer useful.
* Recognize 'mmd' as mermaidMichael Davis2024-03-21
|
* Update tree-sitter-git-commitMichael Davis2024-03-21
| | | | This commit has partial support for escapes within strings.
* fix(languages): specify correct comment-token for PKGBUILD files (#9943)Hendrik Norkowski2024-03-20
|
* Add support for ember.js templates (#9902)Arthur Deierlein2024-03-19
| | | | | | | | | | | | | | | | | * feat: add support for ember .hbs (glimmer) templates * adjust highlights to helix * highlight this correctly in block statements * correctly highlight attributes * correctly highlight hash_pair * add newline to highlights.scm * refactor: use #any-of and #eq instead of #match * chore: add newline to languages.toml
* feat: add suport for helm charts (#9900)Arthur Deierlein2024-03-19
|
* Initial Ada language support (after stale) (#9908)Damian Zaręba2024-03-19
| | | | | | | | | | | | | * Adding initial support for ada language, based off #7790 PR from tomekw * More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP * Generate ada in lang-support.md using cargo xtask docgen * Update tree-sitter definitions according to comments * Remove .gpr glob from languages.toml * Fix unit in languages.toml for ada, update locals.scm to helix needs
* Enhance support for PKGBUILDS (#9909)Arthur Deierlein2024-03-19
| | | | | * enhance support for PKGBUILDS * run cargo xtask docgen
* Add yaml LSP for docker compose (#9916)Jaakko Paju2024-03-18
| | | | | * Add yaml LSP for docker compose * Change docs
* add koka language support (#8727)Matthew Toohey2024-03-18
| | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
* Add initial support for SuperCollider (#9329)Phil2024-03-18
|
* Add blade support (#9513)Leonardo Eugênio2024-03-17
| | | | | | | * Add php-only language config and queries php-only is required enabling php injections like in blade templates * Add blade templates support
* Updated grammar for hurl 4 (#9775)Erasin Wang2024-03-17
|
* Extend groovy support (#9677)Benedikt Ritter2024-03-17
| | | | | | | | | | | | | | | | | | | | | | | | * Extend groovy support Use more complete parser introduced in nvm-treesitter in https://github.com/nvim-treesitter/nvim-treesitter/commit/d4dac523d2546afc266eb9b5a7986690b5319c41 * Update runtime/queries/groovy/locals.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Drop indent.scm for groovy It was copied from the tree-sitter repository but is not compatiblw with the way indent queries are implemented in Helix. * Adapt groovy highlights to helix syntax * Update documentation --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add Support for JSONC (#9906)George "Riye" Hollister2024-03-17
| | | | | | | | | | | | * Added `jsonc` language with support for comments The `vscode-json-language-server` accepts `jsonc` as a language id. Allowing the use of comments within JSON files. * fix: Update `injdection-rejex` to be unique * fix: use includes to remove redundant queries * ci: Generate language-support docs
* Add support for hyprland config (#9899)Arthur Deierlein2024-03-17
| | | | | | | * feat: add hyprland config language * adjust indents to helix * adjust highlights to helix
* Fix comment key bind behaviour in OCaml (#9894)Nick2024-03-16
|
* 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>