helix-mods/helix-syntax
Midnight Exigent dba22c60ed
Support dockerfiles (#1303)
* 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>
2021-12-21 18:22:15 +09:00
..
languages Support dockerfiles (#1303) 2021-12-21 18:22:15 +09:00
src Simplify replace dashes with underscore 2021-07-23 18:37:41 +09:00
build.rs Improve build error when a new grammar was added 2021-09-06 15:25:46 +09:00
Cargo.toml Release v0.5.0 2021-10-28 16:41:34 +09:00
README.md Add README for helix-syntax (#1312) 2021-12-21 12:38:32 +09:00

helix-syntax

Syntax highlighting for helix, (shallow) submodules resides here.

Differences from nvim-treesitter

As the syntax are commonly ported from https://github.com/nvim-treesitter/nvim-treesitter.

Note that we do not support the custom #any-of predicate which is supported by neovim so one needs to change it to #match with regex.