mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-24 11:15:43 +02:00
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
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:
parent
1c999d4c15
commit
1bd91097c3
1 changed files with 172 additions and 158 deletions
|
@ -8,167 +8,181 @@
|
||||||
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 = [
|
||||||
"┗"
|
"┗"
|
||||||
"┣"
|
"┣"
|
||||||
"┃"
|
"┃"
|
||||||
"━"
|
"━"
|
||||||
"┏"
|
"┏"
|
||||||
];
|
|
||||||
kind = { };
|
|
||||||
impSign = " ";
|
|
||||||
};
|
|
||||||
hover = {
|
|
||||||
maxWidth = 0.9;
|
|
||||||
maxHeight = 0.8;
|
|
||||||
openLink = "gx";
|
|
||||||
openCmd = "!chrome";
|
|
||||||
};
|
|
||||||
diagnostic = {
|
|
||||||
showCodeAction = true;
|
|
||||||
showLayout = "float";
|
|
||||||
showNormalHeight = 10;
|
|
||||||
jumpNumShortcut = true;
|
|
||||||
maxWidth = 0.8;
|
|
||||||
maxHeight = 0.6;
|
|
||||||
maxShowWidth = 0.9;
|
|
||||||
maxShowHeight = 0.6;
|
|
||||||
textHlFollow = true;
|
|
||||||
borderFollow = true;
|
|
||||||
extendRelatedInformation = false;
|
|
||||||
diagnosticOnlyCurrent = false;
|
|
||||||
keys = {
|
|
||||||
execAction = "o";
|
|
||||||
quit = "q";
|
|
||||||
toggleOrJump = "<CR>";
|
|
||||||
quitInShow = [
|
|
||||||
"q"
|
|
||||||
"<ESC>"
|
|
||||||
];
|
];
|
||||||
|
kind = { };
|
||||||
|
imp_sign = " ";
|
||||||
|
};
|
||||||
|
hover = {
|
||||||
|
max_width = 0.9;
|
||||||
|
max_height = 0.8;
|
||||||
|
open_link = "gx";
|
||||||
|
open_cmd = "!chrome";
|
||||||
|
};
|
||||||
|
diagnostic = {
|
||||||
|
show_code_action = true;
|
||||||
|
show_layout = "float";
|
||||||
|
show_normal_height = 10;
|
||||||
|
jump_num_shortcut = true;
|
||||||
|
max_width = 0.8;
|
||||||
|
max_height = 0.6;
|
||||||
|
max_show_width = 0.9;
|
||||||
|
max_show_height = 0.6;
|
||||||
|
text_hl_follow = true;
|
||||||
|
border_follow = true;
|
||||||
|
extend_related_information = false;
|
||||||
|
diagnostic_only_current = false;
|
||||||
|
keys = {
|
||||||
|
exec_action = "o";
|
||||||
|
quit = "q";
|
||||||
|
toggle_or_jump = "<CR>";
|
||||||
|
quit_in_show = [
|
||||||
|
"q"
|
||||||
|
"<ESC>"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
code_action = {
|
||||||
|
num_shortcut = true;
|
||||||
|
show_server_name = false;
|
||||||
|
extend_git_signs = false;
|
||||||
|
only_in_cursor = true;
|
||||||
|
keys = {
|
||||||
|
quit = "q";
|
||||||
|
exec = "<CR>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
lightbulb = {
|
||||||
|
enable = true;
|
||||||
|
sign = true;
|
||||||
|
debounce = 10;
|
||||||
|
sign_priority = 40;
|
||||||
|
virtual_text = true;
|
||||||
|
};
|
||||||
|
scroll_preview = {
|
||||||
|
scroll_down = "<C-f>";
|
||||||
|
scroll_up = "<C-b>";
|
||||||
|
};
|
||||||
|
finder = {
|
||||||
|
max_height = 0.5;
|
||||||
|
left_width = 0.3;
|
||||||
|
right_width = 0.3;
|
||||||
|
methods = {
|
||||||
|
tyd = "textDocument/typeDefinition";
|
||||||
|
};
|
||||||
|
default = "ref+imp";
|
||||||
|
layout = "float";
|
||||||
|
silent = false;
|
||||||
|
filter = { };
|
||||||
|
keys = {
|
||||||
|
shuttle = "[w";
|
||||||
|
toggle_or_open = "o";
|
||||||
|
vsplit = "s";
|
||||||
|
split = "i";
|
||||||
|
tabe = "t";
|
||||||
|
tabnew = "r";
|
||||||
|
quit = "q";
|
||||||
|
close = "<C-c>k";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
definition = {
|
||||||
|
width = 0.6;
|
||||||
|
height = 0.5;
|
||||||
|
keys = {
|
||||||
|
edit = "<C-c>o";
|
||||||
|
vsplit = "<C-c>v";
|
||||||
|
split = "<C-c>i";
|
||||||
|
tabe = "<C-c>t";
|
||||||
|
quit = "q";
|
||||||
|
close = "<C-c>k";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
rename = {
|
||||||
|
in_select = true;
|
||||||
|
auto_save = false;
|
||||||
|
project_max_width = 0.5;
|
||||||
|
project_max_height = 0.5;
|
||||||
|
keys = {
|
||||||
|
quit = "<C-k>";
|
||||||
|
exec = "<CR>";
|
||||||
|
select = "x";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
symbol_in_winbar = {
|
||||||
|
enable = true;
|
||||||
|
separator = " › ";
|
||||||
|
hide_keyword = false;
|
||||||
|
show_file = true;
|
||||||
|
folder_level = 1;
|
||||||
|
color_mode = true;
|
||||||
|
delay = 300;
|
||||||
|
};
|
||||||
|
outline = {
|
||||||
|
win_position = "right";
|
||||||
|
win_width = 30;
|
||||||
|
auto_preview = true;
|
||||||
|
detail = true;
|
||||||
|
auto_close = true;
|
||||||
|
close_after_jump = false;
|
||||||
|
layout = "normal";
|
||||||
|
max_height = 0.5;
|
||||||
|
left_width = 0.3;
|
||||||
|
keys = {
|
||||||
|
toggle_or_jump = "o";
|
||||||
|
quit = "q";
|
||||||
|
jump = "e";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
callhierarchy = {
|
||||||
|
layout = "float";
|
||||||
|
keys = {
|
||||||
|
edit = "e";
|
||||||
|
vsplit = "s";
|
||||||
|
split = "i";
|
||||||
|
tabe = "t";
|
||||||
|
close = "<C-c>k";
|
||||||
|
quit = "q";
|
||||||
|
shuttle = "[w";
|
||||||
|
toggle_or_req = "u";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
implement = {
|
||||||
|
enable = true;
|
||||||
|
sign = true;
|
||||||
|
virtual_text = true;
|
||||||
|
priority = 100;
|
||||||
|
};
|
||||||
|
beacon = {
|
||||||
|
enable = true;
|
||||||
|
frequency = 7;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
codeAction = {
|
};
|
||||||
numShortcut = true;
|
};
|
||||||
showServerName = false;
|
|
||||||
extendGitSigns = false;
|
example = {
|
||||||
onlyInCursor = true;
|
plugins.web-devicons.enable = true;
|
||||||
keys = {
|
plugins.lspsaga = {
|
||||||
quit = "q";
|
enable = true;
|
||||||
exec = "<CR>";
|
settings = {
|
||||||
};
|
ui.border = "single";
|
||||||
};
|
symbol_in_winbar.enable = true;
|
||||||
lightbulb = {
|
implement.enable = true;
|
||||||
enable = true;
|
lightbulb.enable = false;
|
||||||
sign = true;
|
|
||||||
debounce = 10;
|
|
||||||
signPriority = 40;
|
|
||||||
virtualText = true;
|
|
||||||
};
|
|
||||||
scrollPreview = {
|
|
||||||
scrollDown = "<C-f>";
|
|
||||||
scrollUp = "<C-b>";
|
|
||||||
};
|
|
||||||
finder = {
|
|
||||||
maxHeight = 0.5;
|
|
||||||
leftWidth = 0.3;
|
|
||||||
rightWidth = 0.3;
|
|
||||||
methods = {
|
|
||||||
tyd = "textDocument/typeDefinition";
|
|
||||||
};
|
|
||||||
default = "ref+imp";
|
|
||||||
layout = "float";
|
|
||||||
silent = false;
|
|
||||||
filter = { };
|
|
||||||
keys = {
|
|
||||||
shuttle = "[w";
|
|
||||||
toggleOrOpen = "o";
|
|
||||||
vsplit = "s";
|
|
||||||
split = "i";
|
|
||||||
tabe = "t";
|
|
||||||
tabnew = "r";
|
|
||||||
quit = "q";
|
|
||||||
close = "<C-c>k";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
definition = {
|
|
||||||
width = 0.6;
|
|
||||||
height = 0.5;
|
|
||||||
keys = {
|
|
||||||
edit = "<C-c>o";
|
|
||||||
vsplit = "<C-c>v";
|
|
||||||
split = "<C-c>i";
|
|
||||||
tabe = "<C-c>t";
|
|
||||||
quit = "q";
|
|
||||||
close = "<C-c>k";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
rename = {
|
|
||||||
inSelect = true;
|
|
||||||
autoSave = false;
|
|
||||||
projectMaxWidth = 0.5;
|
|
||||||
projectMaxHeight = 0.5;
|
|
||||||
keys = {
|
|
||||||
quit = "<C-k>";
|
|
||||||
exec = "<CR>";
|
|
||||||
select = "x";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
symbolInWinbar = {
|
|
||||||
enable = true;
|
|
||||||
separator = " › ";
|
|
||||||
hideKeyword = false;
|
|
||||||
showFile = true;
|
|
||||||
folderLevel = 1;
|
|
||||||
colorMode = true;
|
|
||||||
delay = 300;
|
|
||||||
};
|
|
||||||
outline = {
|
|
||||||
winPosition = "right";
|
|
||||||
winWidth = 30;
|
|
||||||
autoPreview = true;
|
|
||||||
detail = true;
|
|
||||||
autoClose = true;
|
|
||||||
closeAfterJump = false;
|
|
||||||
layout = "normal";
|
|
||||||
maxHeight = 0.5;
|
|
||||||
leftWidth = 0.3;
|
|
||||||
keys = {
|
|
||||||
toggleOrJump = "o";
|
|
||||||
quit = "q";
|
|
||||||
jump = "e";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
callhierarchy = {
|
|
||||||
layout = "float";
|
|
||||||
keys = {
|
|
||||||
edit = "e";
|
|
||||||
vsplit = "s";
|
|
||||||
split = "i";
|
|
||||||
tabe = "t";
|
|
||||||
close = "<C-c>k";
|
|
||||||
quit = "q";
|
|
||||||
shuttle = "[w";
|
|
||||||
toggleOrReq = "u";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
implement = {
|
|
||||||
enable = true;
|
|
||||||
sign = true;
|
|
||||||
virtualText = true;
|
|
||||||
priority = 100;
|
|
||||||
};
|
|
||||||
beacon = {
|
|
||||||
enable = true;
|
|
||||||
frequency = 7;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue