mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lean: migrate to mkNeovimPlugin
This commit is contained in:
parent
0e92aaf3f2
commit
c75e4ea37f
3 changed files with 256 additions and 263 deletions
|
@ -23,8 +23,7 @@ lib.optionalAttrs doRun {
|
|||
|
||||
lean = {
|
||||
enable = true;
|
||||
|
||||
lsp.enable = false;
|
||||
settings.lsp.enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -35,58 +34,52 @@ lib.optionalAttrs doRun {
|
|||
|
||||
lean = {
|
||||
enable = true;
|
||||
|
||||
lsp = { };
|
||||
ft = {
|
||||
default = "lean";
|
||||
nomodifiable = null;
|
||||
};
|
||||
abbreviations = {
|
||||
enable = true;
|
||||
extra = {
|
||||
wknight = "♘";
|
||||
settings = {
|
||||
lsp = { };
|
||||
ft = {
|
||||
default = "lean";
|
||||
nomodifiable = null;
|
||||
};
|
||||
leader = "\\";
|
||||
};
|
||||
mappings = false;
|
||||
infoview = {
|
||||
autoopen = true;
|
||||
autopause = false;
|
||||
width = 50;
|
||||
height = 20;
|
||||
horizontalPosition = "bottom";
|
||||
separateTab = false;
|
||||
indicators = "auto";
|
||||
lean3 = {
|
||||
showFilter = true;
|
||||
mouseEvents = false;
|
||||
abbreviations = {
|
||||
enable = true;
|
||||
extra = { };
|
||||
leader = "\\";
|
||||
};
|
||||
showProcessing = true;
|
||||
showNoInfoMessage = false;
|
||||
useWidgets = true;
|
||||
mappings = {
|
||||
K = "click";
|
||||
"<CR>" = "click";
|
||||
gd = "go_to_def";
|
||||
gD = "go_to_decl";
|
||||
gy = "go_to_type";
|
||||
I = "mouse_enter";
|
||||
i = "mouse_leave";
|
||||
"<Esc>" = "clear_all";
|
||||
C = "clear_all";
|
||||
"<LocalLeader><Tab>" = "goto_last_window";
|
||||
mappings = false;
|
||||
infoview = {
|
||||
autoopen = true;
|
||||
autopause = false;
|
||||
width = 50;
|
||||
height = 20;
|
||||
horizontal_position = "bottom";
|
||||
separate_tab = false;
|
||||
indicators = "auto";
|
||||
show_processing = true;
|
||||
show_no_info_message = false;
|
||||
use_widgets = true;
|
||||
mappings = {
|
||||
K = "click";
|
||||
"<CR>" = "click";
|
||||
gd = "go_to_def";
|
||||
gD = "go_to_decl";
|
||||
gy = "go_to_type";
|
||||
I = "mouse_enter";
|
||||
i = "mouse_leave";
|
||||
"<Esc>" = "clear_all";
|
||||
C = "clear_all";
|
||||
"<LocalLeader><Tab>" = "goto_last_window";
|
||||
};
|
||||
};
|
||||
progress_bars = {
|
||||
enable = true;
|
||||
priority = 10;
|
||||
};
|
||||
stderr = {
|
||||
enable = true;
|
||||
height = 5;
|
||||
on_lines.__raw = "function(lines) vim.notify(lines) end";
|
||||
};
|
||||
};
|
||||
progressBars = {
|
||||
enable = true;
|
||||
priority = 10;
|
||||
};
|
||||
stderr = {
|
||||
enable = true;
|
||||
height = 5;
|
||||
onLines = "function(lines) vim.notify(lines) end";
|
||||
};
|
||||
lsp3 = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue