mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
plugins/languages: move to by-name
This commit is contained in:
parent
9d323f3ec7
commit
b1d0959bc9
71 changed files with 19 additions and 36 deletions
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
# This plugin has no configuration, so we use `mkVimPlugin` without the `globalPrefix` argument to
|
||||
# avoid the creation of the `settings` option.
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "texpresso";
|
||||
originalName = "texpresso.vim";
|
||||
package = "texpresso-vim";
|
||||
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
|
||||
extraOptions = {
|
||||
texpressoPackage = lib.mkPackageOption pkgs "texpresso" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue