plugins/lean: migrate to mkNeovimPlugin

This commit is contained in:
Austin Horstman 2025-01-31 16:07:26 -06:00 committed by nix-infra-bot
parent 0e92aaf3f2
commit c75e4ea37f
3 changed files with 256 additions and 263 deletions

View file

@ -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 = { };
};
};
};