mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-16 15:32:48 +01:00
28 lines
608 B
Nix
28 lines
608 B
Nix
{ lib, ... }:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "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 ];
|
|
}
|