mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-10 20:23:30 +00:00
refactor: use new mapping format
This commit is contained in:
parent
2d9b24dfdb
commit
7e566c9687
4 changed files with 56 additions and 17 deletions
|
@ -9,6 +9,24 @@ with builtins; {
|
|||
options.vim.assistant.copilot = {
|
||||
enable = mkEnableOption "Enable GitHub Copilot";
|
||||
|
||||
panel = {
|
||||
position = mkOption {
|
||||
type = types.enum [
|
||||
"bottom"
|
||||
"top"
|
||||
"left"
|
||||
"right"
|
||||
];
|
||||
default = "bottom";
|
||||
description = "Panel position";
|
||||
};
|
||||
ratio = mkOption {
|
||||
type = types.float;
|
||||
default = 0.4;
|
||||
description = "Panel size";
|
||||
};
|
||||
};
|
||||
|
||||
mappings = {
|
||||
panel = {
|
||||
jumpPrev = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue