feat: add modes-nvim

This commit is contained in:
NotAShelf 2023-04-04 23:33:36 +03:00
parent 7d0d0e7963
commit e20ebe6f68
No known key found for this signature in database
GPG key ID: 05A3BD53FEB32B81
3 changed files with 37 additions and 1 deletions

View file

@ -656,6 +656,22 @@
"type": "github" "type": "github"
} }
}, },
"modes-nvim": {
"flake": false,
"locked": {
"lastModified": 1673274565,
"narHash": "sha256-EvJh6BLRkf+GJaKsw6pz0DR59Tha0bIkYnvqpgHgHHw=",
"owner": "mvllow",
"repo": "modes.nvim",
"rev": "d65260b8b41fdaf6ceba8d569588ecd145e6a772",
"type": "github"
},
"original": {
"owner": "mvllow",
"repo": "modes.nvim",
"type": "github"
}
},
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1288,6 +1304,7 @@
"lualine": "lualine", "lualine": "lualine",
"mind-nvim": "mind-nvim", "mind-nvim": "mind-nvim",
"minimap-vim": "minimap-vim", "minimap-vim": "minimap-vim",
"modes-nvim": "modes-nvim",
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nil": "nil", "nil": "nil",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",

View file

@ -74,9 +74,17 @@ with lib; let
"todo-comments" "todo-comments"
"flutter-tools" "flutter-tools"
"hop-nvim" "hop-nvim"
"modes-nvim"
]; ];
# You can either use the name of the plugin or a package. # You can either use the name of the plugin or a package.
pluginsType = with types; listOf (nullOr (either (enum availablePlugins) package)); pluginsType = with types;
listOf (
nullOr (
either
(enum availablePlugins)
package
)
);
in { in {
pluginsOpt = { pluginsOpt = {
description, description,

View file

@ -0,0 +1,11 @@
{
config,
lib,
...
}:
with lib;
with builtins; {
options.vim.ui.modes-nvim = {
enable = mkEnableOption "Enable modes.nvim UI elements";
};
}