nix-community.nixvim/plugins/by-name/helm/default.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

29 lines
597 B
Nix

{
lib,
helpers,
...
}:
helpers.vim-plugin.mkVimPlugin {
name = "helm";
packPathName = "vim-helm";
package = "vim-helm";
description = ''
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 ];
}