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.
This commit is contained in:
Austin Horstman 2024-12-13 08:27:14 -06:00
parent e8e396558b
commit a7012e7864
No known key found for this signature in database
181 changed files with 194 additions and 194 deletions

View file

@ -76,7 +76,7 @@ A template plugin can be found in (plugins/TEMPLATE.nix)[https://github.com/nix-
| **luaName** | The Lua name for the plugin. | No | `name` parameter |
| **maintainers** | Maintainers for the plugin. | No | `[]` |
| **optionsRenamedToSettings** | Options that have been renamed and move to the `settings` attribute. | No | `[]` |
| **originalName** | The original name of the plugin, usually the plugin's github repo name. E.g. `"foo-bar.nvim"`. | No | `name` parameter |
| **packPathName** | The name of the plugin directory in [packpath](https://neovim.io/doc/user/options.html#'packpath'), usually the plugin's github repo name. E.g. `"foo-bar.nvim"`. | No | `name` parameter |
| **package** | The nixpkgs package attr for this plugin. Can be a string, a list of strings, a module option, or any derivation. For example, "foo-bar-nvim" for `pkgs.vimPlugins.foo-bar-nvim`, or `[ "hello" "world" ]` will be referenced as `pkgs.hello.world`. | No | `name` parameter |
| **settingsDescription** | A description of the settings provided to the `setup` function. | No | `"Options provided to the require('${luaName}')${setup} function."` |
| **settingsExample** | An example configuration for the plugin's settings. | No | `null` |
@ -135,7 +135,7 @@ Such plugins are usually configured via vim globals, but often have no configura
| **isColorscheme** | Flag to indicate if the plugin is a colorscheme. | No | `false` |
| **maintainers** | The maintainers of the plugin. | No | `[]` |
| **optionsRenamedToSettings** | List of options renamed to settings. | No | `[]` |
| **originalName** | The original name of the plugin, usually the plugin's github repo name. E.g. `"foo-bar.vim"`. | No | `name` parameter |
| **packPathName** | The name of the plugin directory in [packpath](https://neovim.io/doc/user/options.html#'packpath'), usually the plugin's github repo name. E.g. `"foo-bar.vim"`. | No | `name` parameter |
| **package** | The nixpkgs package attr for this plugin. Can be a string, a list of strings, a module option, or any derivation. For example, "foo-bar-vim" for `pkgs.vimPlugins.foo-bar-vim`, or `[ "hello" "world" ]` will be referenced as `pkgs.hello.world`. | No | `name` parameter |
| **settingsExample** | Example settings for the plugin. | No | `null` |
| **settingsOptions** | Options representing the plugin's settings. This is optional because `settings` is a "freeform" option. See [Declaring plugin options](#declaring-plugin-options). | No | `{}` |

View file

@ -31,7 +31,7 @@
# For example, they might just be configured through some other mean, like global variables
hasLuaConfig ? true,
# options
originalName ? name,
packPathName ? name,
# Can be a string, a list of strings, or a module option:
# - A string will be intrpreted as `pkgs.vimPlugins.${package}`
# - A list will be interpreted as a "pkgs path", e.g. `pkgs.${elem1}.${elem2}.${etc...}`
@ -88,13 +88,13 @@
options.${namespace}.${name} =
{
enable = lib.mkEnableOption originalName;
lazyLoad = lib.nixvim.mkLazyLoadOption originalName;
enable = lib.mkEnableOption packPathName;
lazyLoad = lib.nixvim.mkLazyLoadOption packPathName;
package =
if lib.isOption package then
package
else
lib.mkPackageOption pkgs originalName {
lib.mkPackageOption pkgs packPathName {
default =
if builtins.isList package then
package
@ -170,14 +170,14 @@
assertions = [
{
assertion = (isColorscheme && colorscheme != null) || cfg.lazyLoad.settings != { };
message = "You have enabled lazy loading for ${originalName} but have not provided any configuration.";
message = "You have enabled lazy loading for ${packPathName} but have not provided any configuration.";
}
];
plugins.lz-n = {
plugins = [
(
{
__unkeyed-1 = originalName;
__unkeyed-1 = packPathName;
# Use provided after, otherwise fallback to normal function wrapped lua content
after =
let

View file

@ -335,10 +335,10 @@ rec {
};
mkLazyLoadOption =
originalName:
packPathName:
lib.mkOption {
description = ''
Lazy-load settings for ${originalName}.
Lazy-load settings for ${packPathName}.
> [!WARNING]
> This is an experimental option and may not work as expected with all plugins.
@ -356,7 +356,7 @@ rec {
`true` when `settings` has a non-null attribute
'';
description = ''
lazy-loading for ${originalName}
lazy-loading for ${packPathName}
'';
};

View file

@ -14,7 +14,7 @@
isColorscheme ? false,
colorscheme ? name,
# options
originalName ? name,
packPathName ? name,
# Can be a string, a list of strings, or a module option:
# - A string will be intrpreted as `pkgs.vimPlugins.${package}`
# - A list will be interpreted as a "pkgs path", e.g. `pkgs.${elem1}.${elem2}.${etc...}`
@ -77,12 +77,12 @@
options.${namespace}.${name} =
{
enable = lib.mkEnableOption originalName;
enable = lib.mkEnableOption packPathName;
package =
if lib.isOption package then
package
else
lib.mkPackageOption pkgs originalName {
lib.mkPackageOption pkgs packPathName {
default =
if builtins.isList package then
package

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "my-plugin";
originalName = "my-plugin.nvim"; # TODO replace (or remove entirely if it is the same as `name`)
packPathName = "my-plugin.nvim"; # TODO replace (or remove entirely if it is the same as `name`)
package = "my-plugin-nvim"; # TODO replace
maintainers = [ lib.maintainers.MyName ]; # TODO replace with your name

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "aerial";
originalName = "aerial.nvim";
packPathName = "aerial.nvim";
package = "aerial-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@ let
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "airline";
originalName = "vim-airline";
packPathName = "vim-airline";
package = "vim-airline";
globalPrefix = "airline_";

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "arrow";
originalName = "arrow.nvim";
packPathName = "arrow.nvim";
package = "arrow-nvim";
maintainers = [ maintainers.hmajid2301 ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "auto-save";
originalName = "auto-save.nvim";
packPathName = "auto-save.nvim";
package = "auto-save-nvim";
maintainers = [ lib.maintainers.braindefender ];

View file

@ -7,7 +7,7 @@ let
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "autosource";
originalName = "vim-autosource";
packPathName = "vim-autosource";
package = "vim-autosource";
globalPrefix = "autosource_";

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "avante";
originalName = "avante.nvim";
packPathName = "avante.nvim";
package = "avante-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "baleia";
originalName = "baleia.nvim";
packPathName = "baleia.nvim";
package = "baleia-nvim";
maintainers = [ lib.maintainers.alisonjenkins ];

View file

@ -53,7 +53,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "barbar";
originalName = "barbar.nvim";
packPathName = "barbar.nvim";
package = "barbar-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "barbecue";
originalName = "barbecue.nvim";
packPathName = "barbecue.nvim";
package = "barbecue-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "better-escape";
originalName = "better-escape.nvim";
packPathName = "better-escape.nvim";
luaName = "better_escape";
package = "better-escape-nvim";

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "blink-cmp";
originalName = "blink.cmp";
packPathName = "blink.cmp";
package = "blink-cmp";
maintainers = [ lib.maintainers.balssh ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.vim-plugin.mkVimPlugin {
name = "bufdelete";
originalName = "bufdelete.nvim";
packPathName = "bufdelete.nvim";
package = "bufdelete-nvim";
globalPrefix = "bufdelete_";

View file

@ -10,7 +10,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "bufferline";
originalName = "bufferline.nvim";
packPathName = "bufferline.nvim";
package = "bufferline-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "ccc";
originalName = "ccc.nvim";
packPathName = "ccc.nvim";
package = "ccc-nvim";
maintainers = [ lib.maintainers.JanKremer ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "chatgpt";
originalName = "ChatGPT.nvim";
packPathName = "ChatGPT.nvim";
package = "ChatGPT-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "cloak";
originalName = "cloak.nvim";
packPathName = "cloak.nvim";
package = "cloak-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "cmake-tools";
originalName = "cmake-tools.nvim";
packPathName = "cmake-tools.nvim";
package = "cmake-tools-nvim";
maintainers = [ lib.maintainers.NathanFelber ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "codecompanion";
originalName = "codecompanion.nvim";
packPathName = "codecompanion.nvim";
package = "codecompanion-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "codeium-nvim";
originalName = "codeium.nvim";
packPathName = "codeium.nvim";
luaName = "codeium";
maintainers = with lib.maintainers; [

View file

@ -36,7 +36,7 @@ let
in
helpers.vim-plugin.mkVimPlugin {
name = "codeium-vim";
originalName = "codeium.vim";
packPathName = "codeium.vim";
globalPrefix = "codeium_";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "codesnap";
originalName = "codesnap.nvim";
packPathName = "codesnap.nvim";
package = "codesnap-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "colorizer";
originalName = "nvim-colorizer.lua";
packPathName = "nvim-colorizer.lua";
package = "nvim-colorizer-lua";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "comment-box";
originalName = "comment-box.nvim";
packPathName = "comment-box.nvim";
package = "comment-box-nvim";
description = ''
Clarify and beautify your comments and plain text files using boxes and lines.

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "comment";
originalName = "Comment.nvim";
packPathName = "Comment.nvim";
luaName = "Comment";
package = "comment-nvim";

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "committia";
originalName = "committia.vim";
packPathName = "committia.vim";
package = "committia-vim";
globalPrefix = "committia_";

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "competitest";
originalName = "competitest.nvim";
packPathName = "competitest.nvim";
package = "competitest-nvim";
maintainers = [ lib.maintainers.svl ];

View file

@ -4,7 +4,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "compiler";
originalName = "compiler.nvim";
packPathName = "compiler.nvim";
package = "compiler-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -9,7 +9,7 @@ in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "conform-nvim";
luaName = "conform";
originalName = "conform.nvim";
packPathName = "conform.nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "copilot-chat";
originalName = "CopilotChat.nvim";
packPathName = "CopilotChat.nvim";
luaName = "CopilotChat";
package = "CopilotChat-nvim";

View file

@ -8,7 +8,7 @@ with lib;
with helpers.vim-plugin;
helpers.vim-plugin.mkVimPlugin {
name = "copilot-vim";
originalName = "copilot.vim";
packPathName = "copilot.vim";
globalPrefix = "copilot_";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "coq-nvim";
originalName = "coq_nvim";
packPathName = "coq_nvim";
package = "coq_nvim";
maintainers = with lib.maintainers; [

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "dashboard";
originalName = "dashboard-nvim";
packPathName = "dashboard-nvim";
package = "dashboard-nvim";
maintainers = [ maintainers.MattSturgeon ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "debugprint";
originalName = "debugprint.nvim";
packPathName = "debugprint.nvim";
package = "debugprint-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "direnv";
originalName = "direnv.vim";
packPathName = "direnv.vim";
package = "direnv-vim";
globalPrefix = "direnv_";

View file

@ -1,7 +1,7 @@
{ lib, ... }:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "dotnet";
originalName = "dotnet.nvim";
packPathName = "dotnet.nvim";
package = "dotnet-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "dressing";
originalName = "dressing.nvim";
packPathName = "dressing.nvim";
package = "dressing-nvim";
maintainers = [ lib.maintainers.AndresBermeoMarinelli ];

View file

@ -1,7 +1,7 @@
{ lib, ... }:
lib.nixvim.vim-plugin.mkVimPlugin {
name = "earthly";
originalName = "earthly.vim";
packPathName = "earthly.vim";
package = "earthly-vim";
url = "https://github.com/earthly/earthly.vim";
description = "Earthfile syntax highlighting for vim";

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "edgy";
originalName = "edgy.nvim";
packPathName = "edgy.nvim";
package = "edgy-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "emmet";
originalName = "emmet-vim";
packPathName = "emmet-vim";
package = "emmet-vim";
globalPrefix = "user_emmet_";

View file

@ -5,7 +5,7 @@
}:
helpers.vim-plugin.mkVimPlugin {
name = "endwise";
originalName = "vim-endwise";
packPathName = "vim-endwise";
package = "vim-endwise";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "fastaction";
originalName = "fastaction.nvim";
packPathName = "fastaction.nvim";
package = "fastaction-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "flash";
originalName = "flash.nvim";
packPathName = "flash.nvim";
package = "flash-nvim";
maintainers = with maintainers; [

View file

@ -6,7 +6,7 @@
}:
helpers.vim-plugin.mkVimPlugin {
name = "fugitive";
originalName = "vim-fugitive";
packPathName = "vim-fugitive";
package = "vim-fugitive";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "git-conflict";
originalName = "git-conflict.nvim";
packPathName = "git-conflict.nvim";
package = "git-conflict-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "gitblame";
originalName = "git-blame.nvim";
packPathName = "git-blame.nvim";
package = "git-blame-nvim";
maintainers = with lib.maintainers; [ GaetanLepage ];

View file

@ -8,7 +8,7 @@ with lib;
# Indeed, this plugin is not configurable in the common sense (no `setup` function).
helpers.vim-plugin.mkVimPlugin {
name = "gitignore";
originalName = "gitignore.nvim";
packPathName = "gitignore.nvim";
package = "gitignore-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "gitlab";
originalName = "gitlab.vim";
packPathName = "gitlab.vim";
package = "gitlab-vim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "gitsigns";
originalName = "gitsigns.nvim";
packPathName = "gitsigns.nvim";
package = "gitsigns-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "glow";
originalName = "glow.nvim";
packPathName = "glow.nvim";
package = "glow-nvim";
maintainers = [ lib.maintainers.getchoo ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.vim-plugin.mkVimPlugin {
name = "godot";
originalName = "vim-godot";
packPathName = "vim-godot";
package = "vim-godot";
globalPrefix = "godot_";

View file

@ -7,7 +7,7 @@ with helpers.vim-plugin;
with lib;
mkVimPlugin {
name = "goyo";
originalName = "goyo.vim";
packPathName = "goyo.vim";
package = "goyo-vim";
globalPrefix = "goyo_";

View file

@ -1,7 +1,7 @@
{ lib, ... }:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "grug-far";
originalName = "grug-far.nvim";
packPathName = "grug-far.nvim";
package = "grug-far-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "guess-indent";
originalName = "guess-indent.nvim";
packPathName = "guess-indent.nvim";
package = "guess-indent-nvim";
maintainers = [ lib.maintainers.GGORG ];

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "hardtime";
originalName = "hardtime.nvim";
packPathName = "hardtime.nvim";
package = "hardtime-nvim";
maintainers = [ lib.maintainers.refaelsh ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.vim-plugin.mkVimPlugin {
name = "haskell-scope-highlighting";
originalName = "haskell-scope-highlighting.nvim";
packPathName = "haskell-scope-highlighting.nvim";
package = "haskell-scope-highlighting-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "headlines";
originalName = "headlines.nvim";
packPathName = "headlines.nvim";
package = "headlines-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -5,7 +5,7 @@
}:
helpers.vim-plugin.mkVimPlugin {
name = "helm";
originalName = "vim-helm";
packPathName = "vim-helm";
package = "vim-helm";
description = ''

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "helpview";
originalName = "helpview.nvim";
packPathName = "helpview.nvim";
package = "helpview-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "hex";
originalName = "hex.nvim";
packPathName = "hex.nvim";
package = "hex-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -5,7 +5,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "hmts";
originalName = "hmts.nvim";
packPathName = "hmts.nvim";
package = "hmts-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "hop";
originalName = "hop.nvim";
packPathName = "hop.nvim";
package = "hop-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "hydra";
originalName = "hydra.nvim";
packPathName = "hydra.nvim";
package = "hydra-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -5,7 +5,7 @@
}:
helpers.neovim-plugin.mkNeovimPlugin {
name = "idris2";
originalName = "idris2";
packPathName = "idris2";
package = "idris2-nvim";
maintainers = [ lib.maintainers.mitchmindtree ];
}

View file

@ -8,7 +8,7 @@ with lib;
# `globalPrefix` argument to avoid the creation of the `settings` option.
helpers.vim-plugin.mkVimPlugin {
name = "improved-search";
originalName = "improved-search.nvim";
packPathName = "improved-search.nvim";
package = "improved-search-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "indent-blankline";
originalName = "indent-blankline.nvim";
packPathName = "indent-blankline.nvim";
luaName = "ibl";
package = "indent-blankline-nvim";

View file

@ -7,7 +7,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "instant";
originalName = "instant.nvim";
packPathName = "instant.nvim";
package = "instant-nvim";
globalPrefix = "instant_";

View file

@ -37,7 +37,7 @@ in
with lib;
helpers.vim-plugin.mkVimPlugin {
name = "julia-cell";
originalName = "vim-julia-cell";
packPathName = "vim-julia-cell";
package = "vim-julia-cell";
globalPrefix = "julia_cell_";

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "jupytext";
originalName = "jupytext.nvim";
packPathName = "jupytext.nvim";
package = "jupytext-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "kulala";
originalName = "kulala.nvim";
packPathName = "kulala.nvim";
package = "kulala-nvim";
maintainers = [ lib.maintainers.BoneyPatel ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.vim-plugin.mkVimPlugin {
name = "lazygit";
originalName = "lazygit.nvim";
packPathName = "lazygit.nvim";
package = "lazygit-nvim";
globalPrefix = "lazygit_";

View file

@ -8,7 +8,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "ledger";
originalName = "vim-ledger";
packPathName = "vim-ledger";
package = "vim-ledger";
globalPrefix = "ledger_";

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "lightline";
originalName = "lightline.vim";
packPathName = "lightline.vim";
package = "lightline-vim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -5,7 +5,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "lsp-format";
originalName = "lsp-format.nvim";
packPathName = "lsp-format.nvim";
package = "lsp-format-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -7,7 +7,7 @@ with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "lsp-lines";
luaName = "lsp_lines";
originalName = "lsp_lines.nvim";
packPathName = "lsp_lines.nvim";
package = "lsp_lines-nvim";
# This plugin has no settings; it is configured via vim.diagnostic.config

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "lsp-signature";
originalName = "lsp_signature.nvim";
packPathName = "lsp_signature.nvim";
package = "lsp_signature-nvim";
luaName = "lsp_signature";
@ -40,7 +40,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
Will show two lines of comment/doc(if there are more than two lines in the doc, will be truncated).
Set to zero if you DO NOT want any API comments be shown.
This setting only take effect in insert mode, it does not affect signature help in nornal mode.
This setting only take effect in insert mode, it does not affect signature help in normal mode.
'';
max_height = defaultNullOpts.mkUnsignedInt 12 ''
@ -189,7 +189,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
# TODO: figure out the types
keymaps = defaultNullOpts.mkListOf lib.types.anything [ ] ''
Related to move_cursor_key.
The keymaps inside floating window with arguements of bufnr.
The keymaps inside floating window with arguments of bufnr.
It can be a function that sets keymaps.
`<M-d>` and `<M-u>` are default keymaps for moving the cursor up and down.
'';

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "lsp-status";
originalName = "lsp-status.nvim";
packPathName = "lsp-status.nvim";
package = "lsp-status-nvim";
maintainers = [ lib.maintainers.b3nb5n ];

View file

@ -7,7 +7,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "ltex-extra";
originalName = "ltex_extra.nvim";
packPathName = "ltex_extra.nvim";
package = "ltex_extra-nvim";
maintainers = [ maintainers.loicreynier ];

View file

@ -9,7 +9,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "lualine";
originalName = "lualine.nvim";
packPathName = "lualine.nvim";
package = "lualine-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -7,7 +7,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "magma-nvim";
originalName = "magma-nvim";
packPathName = "magma-nvim";
package = "magma-nvim";
globalPrefix = "magma_";

View file

@ -7,7 +7,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "markdown-preview";
originalName = "markdown-preview.nvim";
packPathName = "markdown-preview.nvim";
package = "markdown-preview-nvim";
globalPrefix = "mkdp_";

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "markview";
originalName = "markview.nvim";
packPathName = "markview.nvim";
package = "markview-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -4,7 +4,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "mini";
originalName = "mini.nvim";
packPathName = "mini.nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -7,7 +7,7 @@ with lib;
with helpers.vim-plugin;
mkVimPlugin {
name = "molten";
originalName = "molten-nvim";
packPathName = "molten-nvim";
package = "molten-nvim";
globalPrefix = "molten_";

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "muren";
originalName = "muren.nvim";
packPathName = "muren.nvim";
package = "muren-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@
}:
lib.nixvim.vim-plugin.mkVimPlugin {
name = "nabla";
originalName = "nabla.nvim";
packPathName = "nabla.nvim";
package = "nabla-nvim";
description = ''

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "navic";
originalName = "nvim-navic";
packPathName = "nvim-navic";
luaName = "nvim-navic";
package = "nvim-navic";

View file

@ -8,7 +8,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "neoclip";
originalName = "nvim-neoclip.lua";
packPathName = "nvim-neoclip.lua";
package = "nvim-neoclip-lua";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "neoconf";
originalName = "neoconf.nvim";
packPathName = "neoconf.nvim";
package = "neoconf-nvim";
maintainers = [ lib.maintainers.BoneyPatel ];

View file

@ -6,7 +6,7 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "neoscroll";
originalName = "neoscroll.nvim";
packPathName = "neoscroll.nvim";
package = "neoscroll-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -4,7 +4,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "netman";
originalName = "netman.nvim";
packPathName = "netman.nvim";
package = "netman-nvim";
hasSettings = false;

View file

@ -5,7 +5,7 @@
}:
helpers.vim-plugin.mkVimPlugin {
name = "nix";
originalName = "vim-nix";
packPathName = "vim-nix";
package = "vim-nix";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "noice";
originalName = "noice.nvim";
packPathName = "noice.nvim";
package = "noice-nvim";
maintainers = [ lib.maintainers.khaneliman ];

View file

@ -6,7 +6,7 @@
}:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "none-ls";
originalName = "none-ls.nvim";
packPathName = "none-ls.nvim";
luaName = "null-ls";
package = "none-ls-nvim";

View file

@ -5,7 +5,7 @@ let
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "notebook-navigator";
originalName = "NotebookNavigator-nvim";
packPathName = "NotebookNavigator-nvim";
package = "NotebookNavigator-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -1,7 +1,7 @@
{ lib, ... }:
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "nui";
originalName = "nui.nvim";
packPathName = "nui.nvim";
package = "nui-nvim";
description = "UI Component Library for Neovim";
maintainers = [ lib.maintainers.DataHearth ];

Some files were not shown because too many files have changed in this diff Show more