mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
plugins/utils: move to by-name
This commit is contained in:
parent
faff32b9f1
commit
52f125679f
195 changed files with 2 additions and 102 deletions
|
@ -1,127 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.dressing.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.dressing = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
input = {
|
||||
enabled = true;
|
||||
default_prompt = "Input";
|
||||
trim_prompt = true;
|
||||
title_pos = "left";
|
||||
insert_only = true;
|
||||
start_in_insert = true;
|
||||
border = "rounded";
|
||||
relative = "cursor";
|
||||
prefer_width = 40;
|
||||
width = null;
|
||||
max_width = [
|
||||
140
|
||||
0.9
|
||||
];
|
||||
min_width = [
|
||||
20
|
||||
0.2
|
||||
];
|
||||
win_options = {
|
||||
wrap = false;
|
||||
list = true;
|
||||
listchars = "precedes:...,extends:...";
|
||||
sidescrolloff = 0;
|
||||
};
|
||||
mappings = {
|
||||
n = {
|
||||
"<Esc>" = "Close";
|
||||
"<CR>" = "Confirm";
|
||||
};
|
||||
i = {
|
||||
"<C-c>" = "Close";
|
||||
"<CR>" = "Confirm";
|
||||
"<Up>" = "HistoryPrev";
|
||||
"<Down>" = "HistoryNext";
|
||||
};
|
||||
};
|
||||
override = "function(conf) return conf end";
|
||||
get_config = null;
|
||||
};
|
||||
select = {
|
||||
enabled = true;
|
||||
backend = [
|
||||
"telescope"
|
||||
"fzf_lua"
|
||||
"fzf"
|
||||
"builtin"
|
||||
"nui"
|
||||
];
|
||||
trim_prompt = true;
|
||||
telescope = null;
|
||||
fzf.window = {
|
||||
width = 0.5;
|
||||
height = 0.4;
|
||||
};
|
||||
fzf_lua = { };
|
||||
nui = {
|
||||
position = "50%";
|
||||
size = null;
|
||||
relative = "editor";
|
||||
border = {
|
||||
style = "rounded";
|
||||
};
|
||||
buf_options = {
|
||||
swapfile = false;
|
||||
filetype = "DressingSelect";
|
||||
};
|
||||
win_options = {
|
||||
winblend = 0;
|
||||
};
|
||||
max_width = 80;
|
||||
max_height = 40;
|
||||
min_width = 40;
|
||||
min_height = 10;
|
||||
};
|
||||
builtin = {
|
||||
show_numbers = true;
|
||||
border = "rounded";
|
||||
relative = "editor";
|
||||
|
||||
buf_options = { };
|
||||
win_options = {
|
||||
cursorline = true;
|
||||
cursorlineopt = "both";
|
||||
};
|
||||
|
||||
width = null;
|
||||
max_width = [
|
||||
140
|
||||
0.8
|
||||
];
|
||||
min_width = [
|
||||
40
|
||||
0.2
|
||||
];
|
||||
height = null;
|
||||
max_height = 0.9;
|
||||
min_height = [
|
||||
10
|
||||
0.2
|
||||
];
|
||||
|
||||
mappings = {
|
||||
"<Esc>" = "Close";
|
||||
"<C-c>" = "Close";
|
||||
"<CR>" = "Confirm";
|
||||
};
|
||||
|
||||
override = "function(conf) return conf end";
|
||||
};
|
||||
format_item_override = { };
|
||||
get_config = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue