mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-07 07:44:33 +02:00
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
33 lines
652 B
Nix
33 lines
652 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "helm";
|
|
packPathName = "vim-helm";
|
|
package = "vim-helm";
|
|
|
|
description = ''
|
|
A Vim plugin for editing Helm templates.
|
|
|
|
---
|
|
|
|
To ensure that `helm_ls` (and not `yamlls`) is used on helm files, add the following autocmd:
|
|
|
|
```nix
|
|
autoCmd = [
|
|
{
|
|
event = "FileType";
|
|
pattern = "helm";
|
|
command = "LspRestart";
|
|
}
|
|
];
|
|
```
|
|
|
|
See [nix-community/nixvim#989](https://github.com/nix-community/nixvim/issues/989#issuecomment-2333728503)
|
|
for details.
|
|
'';
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
}
|