diff options
author | Midnight Exigent | 2021-12-21 09:22:15 +0000 |
---|---|---|
committer | GitHub | 2021-12-21 09:22:15 +0000 |
commit | dba22c60ed7fc336ad619b1246333f0116b47bcd (patch) | |
tree | c7f2b55e688691b00638aaaaada72038fc751ebe /languages.toml | |
parent | 75a8b789d20edf8b2e1d3da75497a9936953de68 (diff) |
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>
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 61eb47ec..50c6f7f9 100644 --- a/languages.toml +++ b/languages.toml @@ -467,3 +467,14 @@ file-types = ["scala", "sbt"] comment-token = "//" indent = { tab-width = 2, unit = " " } language-server = { command = "metals" } + +[[language]] +name = "dockerfile" +scope = "source.dockerfile" +injection-regex = "docker|dockerfile" +roots = ["Dockerfile"] +file-types = ["Dockerfile"] +comment-token = "#" +indent = { tab-width = 2, unit = " " } +language-server = { command = "docker-langserver", args = ["--stdio"] } + |