mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
binds/qmk: Rename to vim.utility.qmk
Move the `vim.binds.qmk` module to `vim.utility.qmk`.
This commit is contained in:
parent
ff81c41d61
commit
ea55488f04
7 changed files with 5 additions and 6 deletions
|
@ -158,7 +158,6 @@ isMaximal: {
|
||||||
whichKey.enable = true;
|
whichKey.enable = true;
|
||||||
cheatsheet.enable = true;
|
cheatsheet.enable = true;
|
||||||
hardtime-nvim.enable = isMaximal;
|
hardtime-nvim.enable = isMaximal;
|
||||||
qmk.enable = false; # requires hardware specific options
|
|
||||||
};
|
};
|
||||||
|
|
||||||
telescope.enable = true;
|
telescope.enable = true;
|
||||||
|
@ -193,6 +192,7 @@ isMaximal: {
|
||||||
vim-wakatime.enable = false;
|
vim-wakatime.enable = false;
|
||||||
diffview-nvim.enable = true;
|
diffview-nvim.enable = true;
|
||||||
yanky-nvim.enable = false;
|
yanky-nvim.enable = false;
|
||||||
|
qmk.enable = false; # requires hardware specific options
|
||||||
icon-picker.enable = isMaximal;
|
icon-picker.enable = isMaximal;
|
||||||
surround.enable = isMaximal;
|
surround.enable = isMaximal;
|
||||||
leetcode-nvim.enable = isMaximal;
|
leetcode-nvim.enable = isMaximal;
|
||||||
|
|
|
@ -485,4 +485,4 @@
|
||||||
- Add just support under `vim.languages.just` using [just-lsp].
|
- Add just support under `vim.languages.just` using [just-lsp].
|
||||||
- Add [roslyn-ls] to the `vim.languages.csharp` module.
|
- Add [roslyn-ls] to the `vim.languages.csharp` module.
|
||||||
- Add JSON support under `vim.languages.json` using [jsonls] and [jsonfmt].
|
- Add JSON support under `vim.languages.json` using [jsonls] and [jsonfmt].
|
||||||
- Add QMK support under `vim.binds.qmk` via [qmk.nvim].
|
- Add QMK support under `vim.utility.qmk` via [qmk.nvim].
|
||||||
|
|
|
@ -3,6 +3,5 @@ _: {
|
||||||
./which-key
|
./which-key
|
||||||
./cheatsheet
|
./cheatsheet
|
||||||
./hardtime
|
./hardtime
|
||||||
./qmk
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
./oil-nvim
|
./oil-nvim
|
||||||
./outline
|
./outline
|
||||||
./preview
|
./preview
|
||||||
|
./qmk
|
||||||
./sleuth
|
./sleuth
|
||||||
./smart-splits
|
./smart-splits
|
||||||
./snacks-nvim
|
./snacks-nvim
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
inherit (lib.nvim.lua) toLuaObject;
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
inherit (lib.nvim.dag) entryAfter;
|
inherit (lib.nvim.dag) entryAfter;
|
||||||
|
|
||||||
cfg = config.vim.binds.qmk;
|
cfg = config.vim.utility.qmk;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
@ -7,7 +6,7 @@
|
||||||
inherit (lib.types) attrsOf enum lines str;
|
inherit (lib.types) attrsOf enum lines str;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||||
in {
|
in {
|
||||||
options.vim.binds.qmk = {
|
options.vim.utility.qmk = {
|
||||||
enable = mkEnableOption "QMK and ZMK keymaps in nvim";
|
enable = mkEnableOption "QMK and ZMK keymaps in nvim";
|
||||||
|
|
||||||
setupOpts = mkPluginSetupOption "qmk.nvim" {
|
setupOpts = mkPluginSetupOption "qmk.nvim" {
|
Loading…
Add table
Add a link
Reference in a new issue