mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
feat: add modes-nvim
This commit is contained in:
parent
7d0d0e7963
commit
e20ebe6f68
3 changed files with 37 additions and 1 deletions
17
flake.lock
17
flake.lock
|
@ -656,6 +656,22 @@
|
|||
"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": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -1288,6 +1304,7 @@
|
|||
"lualine": "lualine",
|
||||
"mind-nvim": "mind-nvim",
|
||||
"minimap-vim": "minimap-vim",
|
||||
"modes-nvim": "modes-nvim",
|
||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||
"nil": "nil",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
|
|
@ -74,9 +74,17 @@ with lib; let
|
|||
"todo-comments"
|
||||
"flutter-tools"
|
||||
"hop-nvim"
|
||||
"modes-nvim"
|
||||
];
|
||||
# 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 {
|
||||
pluginsOpt = {
|
||||
description,
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with builtins; {
|
||||
options.vim.ui.modes-nvim = {
|
||||
enable = mkEnableOption "Enable modes.nvim UI elements";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue