aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
* Add llvm-mir highlighting (#1398)Sebastian Neubauer2022-01-04
| | | | | | | | | | | | | | | | | * Add injection regex for more languages To support embedding them in other languages like markdown. * Add llvm-mir highlighting LLVM Machine IR is dumped as yaml files that can embed LLVM IR and Machine IR. To support this, add a llvm-mir-yaml language that uses the yaml parser, but uses different injections to highlight IR and MIR. * Update submodule with fixed multiline comments Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add LLVM TableGen highlighting (#1409)Sebastian Neubauer2022-01-03
| | | | | | | Add a tree-sitter grammar and highlights for TableGen files. TableGen and its grammar are described here: https://llvm.org/docs/TableGen/index.html Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Detect workspace root using language markers (#1370)Alexis Mousset2021-12-31
| | | | | | | | | | | | | | | | * Detect workspace root using language markers * Avoid allocating root_markers * Update helix-core/src/lib.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update helix-core/src/lib.rs Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
* add tree-sitter-git-rebase (#1402)Michael Davis2021-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-rebase, add to languages * add basic highlights query * inject bash in execute statements * update tree-sitter-rebase * tree-sitter-rebase->tree-sitter-git-rebase * get injection working with tree-sitter-git-commit * set scope under source.gitrebase * unset include-children on commit message injections * Revert "unset include-children on commit message injections" This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944. * fix generated language docs * use rebase_command scopes from tree-sitter-git-commit
* Add tree-sitter-git-diff (#1373)Michael Davis2021-12-29
| | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-git-diff * add git-diff highlights * inject git-diff into git-commit * update tree-sitter-git-commit with fix for bad diff case * add git-diff to language support docs * include-children in diff injections This ensures that children nodes of $.message are included in the injection, such as $.user or issue/pr numbers. Without this change, diffs containing '#' or '@' characters can trip up the injection and be parsed separately. See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629 * set diff language's scope as source.diff
* tree-sitter-gitcommit->tree-sitter-git-commitMichael Davis2021-12-25
|
* add gitcommit grammar and language configurationMichael Davis2021-12-25
|
* Enable Rust proc macro support (#1350)Laurențiu Nicola2021-12-24
|
* languages: add .dockerfile extension (#1330)Dylan Richardson2021-12-22
| | | Many folks use `.dockerfile` as an extension for dockerfiles in addition to plain `Dockerfile`. This change associates both file extensions with dockerfile syntax highlighting
* Support dockerfiles (#1303)Midnight Exigent2021-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs * feat(languages): Add support for `Dockerfile`s * docs(cargo-xtask-docgen): * improvement(langs-dockerfile): Add `injection-regex` to `languages.toml` for `Dockerfile` * improvement(langs-dockerfile): Add injections.scm * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add fish highlighting (#1308)Sebastian Neubauer2021-12-21
| | | | The highlights were copied and modified from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
* Add tree-sitter-comment (#1300)Michael Davis2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | * Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add dart lsp config and queries (#1250)Luke Jones2021-12-18
| | | | | | | | | | | | | | | | * Add language: dart The setup requires that dart be in the users path, such as: ``` export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH" ``` Refactor the dart highlights * lang: dart: add indents and locals * lang: dart: corrections to local scope Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add scala syntax highlights (#1278)Oliver Hechtl2021-12-18
| | | | | | | | | | | | | * add partial scala syntax highlights * ran cargo xtask docgen * updated tree-sitter-scala, fixed highlights * fix comments * move identifier to the end of the highlights * add indents
* Add markdown grammarBlaž Hrastnik2021-12-14
| | | | Fixes #215
* fix: rust: disable unresolved-proc-macroBlaž Hrastnik2021-12-14
| | | | | | | Since we disabled proc macro expansion, disable the related info level lint: https://users.rust-lang.org/t/how-to-disable-rust-analyzer-proc-macro-warnings-in-neovim/53150/3
* Use same name used in config files for langs in docsGokul Soumya2021-12-08
|
* Auto generate docs for language supportGokul Soumya2021-12-08
|
* Add llvm grammar (#1167)Kirawi2021-11-29
|
* Add language support for WGSL (#1166)Kirawi2021-11-27
|
* Add language: racket (#1143)shenlebantongying2021-11-24
|
* Make shebangs optional, they don't make sense outside of scriptsBlaž Hrastnik2021-11-09
|
* Fix panicked missing field `shebangs` (#1025)Curiosidad-Racional2021-11-09
| | | | | | Fix the error: ``` thread 'main' panicked at 'Could not parse merged (built-in + user) languages.toml: Error { inner: ErrorInner { kind: Custom, line: None, col: 0, at: None, message: "missing field `shebangs`", key: ["language"] } }', helix-term/src/application.rs:87:14 ```
* glsl support (#993)Mateusz S. Szczygieł2021-11-08
| | | | | * add glsl language support * glsl: use indents.toml file
* Detect filetype from shebang line (#1001)ath32021-11-08
|
* Perl support (#978)ath32021-11-08
|
* Adds mint language server (#974)jgart2021-11-08
|
* Adjust PHP indentation defaults to 4 spacesDaniel Poulin2021-11-02
| | | | | | In the PHP community, 4 spaces is widely considered the default, as it is recommended by the PSR-2 and PSR-12 standards, as well as popular derivative standards like those for Laravel and Symphony.
* add cmake-language-server as cmake language serverkabirz2021-10-30
|
* CMake support (#888)ath32021-10-22
|
* Enable c-sharp language and highlights (#861)Michael Davis2021-10-17
|
* Add highlight support for tree-sitter-query language (tsq) (#845)Michael Davis2021-10-16
| | | | | | | | | | | | | * add submodule on tree-sitter/tree-sitter-tsq mark tsq submodule as shallow * add tree-sitter-tsq to languages * add highlight queries for tsq * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Using pylsp instead of pyls (#834)WindSoilder2021-10-13
|
* Add Vue tree sitter grammar (#787)Thomas Wehmöller2021-10-10
| | | | | | | * ✨ Add vue tree sitter support * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Allow `language.config` (in languages.toml) to be passed in as a toml object ↵Midnight Exigent2021-10-08
| | | | | | | | | | | | | (#807) * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master
* Add (SWI-)Prolog LSP support (#816)James Cash2021-10-08
| | | | | As discussed in #809 ; I also have a [tree-sitter implementation](https://github.com/jamesnvc/tree-sitter-prolog), but for reasons discussed in the linked post, I kind of gave up on that sort of static approach for making a general-purpose Prolog grammar (since it has a very flexible syntax and allows defining new operators with new precedences dynamically). That being said, the LSP implementation here at least shows documentation and does support the semantic token API, so when Helix supports that, this should also provide highlighting.
* languages: add svelte support (#733)Raphael Megzari2021-09-17
| | | | | * languages: add svelte support * languages: add svelte injections
* add language server for elixir and nix (#725)Raphael Megzari2021-09-07
|
* lsp: Don't import SymbolServer for Julia anymore, it's not necessaryBlaž Hrastnik2021-09-07
|
* At least partly highlight tsxBlaž Hrastnik2021-09-06
|
* lsp: Update the julia definitionBlaž Hrastnik2021-09-06
|
* OCaml support (#666)oberblastmeister2021-09-01
| | | | | | | | | | | | | | | | | | | | | * added some stuff * add interface * indent * highlights and locals * scope * change some stuff * add indents * fix blanket highlight * macro * use inherits
* Lua support (#665)oberblastmeister2021-09-01
| | | | | | | | | | | | | | | | | | | | | * added submodule * small changes * updated some stuff * remove * shallow clone * correct indent * shallow * ok * highlights * proper captures
* YAML support (#667)oberblastmeister2021-09-01
| | | | | | | | | | | | | * added submodule * remove wrong one * added highlights * use property * add indents * shallow
* Add zig tree-sitter support (#631)voroskoi2021-08-28
| | | | | | | * Add initial zig tree-sitter support * zig/highlights.scm: remove unnecessary queries * Add zig/indents.toml
* feat: add protobuf tree-sitter parser with highlighting queriesYusuf Bera Ertan2021-08-19
|
* Added more cpp filename extensionsConscat2021-08-18
|
* Adding mjs to JavaScript file type (#607)Yerlan2021-08-18
| | | MJS is a file extension for JavaScript modules using standard ES2015+
* Adding INO to C++ file type (#596)Yerlan2021-08-17
| | | | INO is file extension for C++ files used in Arduino sketches. Reference: https://www.arduino.cc/en/Guide/Environment
* Add ledger tree-sitter (#572)Ivan Tham2021-08-16
| | | | Might need to update later since the current one highlight does not work very well yet.