-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
C-bugCategory: This is a bugCategory: This is a bug
Description
Summary
[[language]]
...
file-types = [ { glob = "templates/*.yaml" }, { glob = "templates/*.yml" }, { glob = "templates/_*.tpl"}, { glob = "templates/NOTES.txt" } ]
cf. https://github.com/helix-editor/helix/blob/master/languages.toml#L4045
A GitLab component directory is structured like this:
├── templates/
│ ├── my-component.yml
│ └── my-other-component/
│ ├── template.yml
│ ├── Dockerfile
│ └── test.sh
├── LICENSE.md
├── README.md
└── .gitlab-ci.yml
cf. https://docs.gitlab.com/ci/components/#directory-structure
So Gitlab CI components YAML files are detected as Helm files, thus not highlighted/linted/etc. properly.
Reproduction Steps
I tried this:
hx
I expected this to happen:
Instead, this happened:
Helix log
~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
Platform
macOS
Terminal Emulator
ghostty
Installation Method
brew
Helix Version
helix 25.07.1 (a05c151)
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bugCategory: This is a bug