tests/lspsaga: update test
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-08-20 15:37:28 +02:00 committed by Matt Sturgeon
parent 1c999d4c15
commit 1bd91097c3

View file

@ -8,14 +8,14 @@
plugins.web-devicons.enable = true; plugins.web-devicons.enable = true;
plugins.lspsaga = { plugins.lspsaga = {
enable = true; enable = true;
settings = {
ui = { ui = {
border = "single"; border = "single";
devicon = true; devicon = true;
title = true; title = true;
expand = ""; expand = "";
collapse = ""; collapse = "";
codeAction = "💡"; code_action = "💡";
actionfix = ""; actionfix = "";
lines = [ lines = [
"" ""
@ -25,42 +25,42 @@
"" ""
]; ];
kind = { }; kind = { };
impSign = "󰳛 "; imp_sign = "󰳛 ";
}; };
hover = { hover = {
maxWidth = 0.9; max_width = 0.9;
maxHeight = 0.8; max_height = 0.8;
openLink = "gx"; open_link = "gx";
openCmd = "!chrome"; open_cmd = "!chrome";
}; };
diagnostic = { diagnostic = {
showCodeAction = true; show_code_action = true;
showLayout = "float"; show_layout = "float";
showNormalHeight = 10; show_normal_height = 10;
jumpNumShortcut = true; jump_num_shortcut = true;
maxWidth = 0.8; max_width = 0.8;
maxHeight = 0.6; max_height = 0.6;
maxShowWidth = 0.9; max_show_width = 0.9;
maxShowHeight = 0.6; max_show_height = 0.6;
textHlFollow = true; text_hl_follow = true;
borderFollow = true; border_follow = true;
extendRelatedInformation = false; extend_related_information = false;
diagnosticOnlyCurrent = false; diagnostic_only_current = false;
keys = { keys = {
execAction = "o"; exec_action = "o";
quit = "q"; quit = "q";
toggleOrJump = "<CR>"; toggle_or_jump = "<CR>";
quitInShow = [ quit_in_show = [
"q" "q"
"<ESC>" "<ESC>"
]; ];
}; };
}; };
codeAction = { code_action = {
numShortcut = true; num_shortcut = true;
showServerName = false; show_server_name = false;
extendGitSigns = false; extend_git_signs = false;
onlyInCursor = true; only_in_cursor = true;
keys = { keys = {
quit = "q"; quit = "q";
exec = "<CR>"; exec = "<CR>";
@ -70,17 +70,17 @@
enable = true; enable = true;
sign = true; sign = true;
debounce = 10; debounce = 10;
signPriority = 40; sign_priority = 40;
virtualText = true; virtual_text = true;
}; };
scrollPreview = { scroll_preview = {
scrollDown = "<C-f>"; scroll_down = "<C-f>";
scrollUp = "<C-b>"; scroll_up = "<C-b>";
}; };
finder = { finder = {
maxHeight = 0.5; max_height = 0.5;
leftWidth = 0.3; left_width = 0.3;
rightWidth = 0.3; right_width = 0.3;
methods = { methods = {
tyd = "textDocument/typeDefinition"; tyd = "textDocument/typeDefinition";
}; };
@ -90,7 +90,7 @@
filter = { }; filter = { };
keys = { keys = {
shuttle = "[w"; shuttle = "[w";
toggleOrOpen = "o"; toggle_or_open = "o";
vsplit = "s"; vsplit = "s";
split = "i"; split = "i";
tabe = "t"; tabe = "t";
@ -112,37 +112,37 @@
}; };
}; };
rename = { rename = {
inSelect = true; in_select = true;
autoSave = false; auto_save = false;
projectMaxWidth = 0.5; project_max_width = 0.5;
projectMaxHeight = 0.5; project_max_height = 0.5;
keys = { keys = {
quit = "<C-k>"; quit = "<C-k>";
exec = "<CR>"; exec = "<CR>";
select = "x"; select = "x";
}; };
}; };
symbolInWinbar = { symbol_in_winbar = {
enable = true; enable = true;
separator = " "; separator = " ";
hideKeyword = false; hide_keyword = false;
showFile = true; show_file = true;
folderLevel = 1; folder_level = 1;
colorMode = true; color_mode = true;
delay = 300; delay = 300;
}; };
outline = { outline = {
winPosition = "right"; win_position = "right";
winWidth = 30; win_width = 30;
autoPreview = true; auto_preview = true;
detail = true; detail = true;
autoClose = true; auto_close = true;
closeAfterJump = false; close_after_jump = false;
layout = "normal"; layout = "normal";
maxHeight = 0.5; max_height = 0.5;
leftWidth = 0.3; left_width = 0.3;
keys = { keys = {
toggleOrJump = "o"; toggle_or_jump = "o";
quit = "q"; quit = "q";
jump = "e"; jump = "e";
}; };
@ -157,13 +157,13 @@
close = "<C-c>k"; close = "<C-c>k";
quit = "q"; quit = "q";
shuttle = "[w"; shuttle = "[w";
toggleOrReq = "u"; toggle_or_req = "u";
}; };
}; };
implement = { implement = {
enable = true; enable = true;
sign = true; sign = true;
virtualText = true; virtual_text = true;
priority = 100; priority = 100;
}; };
beacon = { beacon = {
@ -172,6 +172,20 @@
}; };
}; };
}; };
};
example = {
plugins.web-devicons.enable = true;
plugins.lspsaga = {
enable = true;
settings = {
ui.border = "single";
symbol_in_winbar.enable = true;
implement.enable = true;
lightbulb.enable = false;
};
};
};
no-icons = { no-icons = {
plugins.web-devicons.enable = false; plugins.web-devicons.enable = false;