Merge pull request #1632 from snoweuph/docker

languages/docker: map dockercompose to yaml for treesitter
This commit is contained in:
Snoweuph 2026-06-11 20:46:46 +02:00 committed by GitHub
commit a6f49d9a4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View file

@ -355,9 +355,6 @@
more flexibility in nvf and reuse of LSPs across languages. Dropped
`deprecatedSingleOrListOf` in favor of `listOf` for the affected LSP options.
- Added {option}`vim.lsp.presets.docker-language-server.enable` for Docker
support.
- Added {option}`vim.lsp.presets.angular-language-server.enable` for Angular
Template support.
@ -385,6 +382,11 @@
[poseidon-rises](https://github.com/poseidon-rises) for creating most of it in
[!1104](https://github.com/NotAShelf/nvf/pull/1104).
- Added {option}`vim.lsp.presets.docker-language-server.enable` for Docker
support.
- Mapped `dockercompose` to be highlighted by treesitter as `yaml`.
- Added [`mdformat`](https://mdformat.rtfd.io/) support to `languages.markdown`
with the extensions for [GFM](https://github.github.com/gfm/),
[front matter](https://www.markdownlang.com/advanced/frontmatter.html) and

View file

@ -117,6 +117,9 @@ in {
vim.treesitter = {
enable = true;
grammars = [cfg.treesitter.package];
filetypeMappings = {
yaml = ["dockercompose"];
};
};
})