mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
tests/trouble: add more examples
This commit is contained in:
parent
2e1b3b7d43
commit
df515c651e
1 changed files with 52 additions and 0 deletions
|
@ -81,6 +81,58 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
split-right-preview = {
|
||||||
|
plugins.web-devicons.enable = true;
|
||||||
|
plugins.trouble = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
modes = {
|
||||||
|
test = {
|
||||||
|
mode = "diagnostics";
|
||||||
|
preview = {
|
||||||
|
type = "split";
|
||||||
|
relative = "win";
|
||||||
|
position = "right";
|
||||||
|
size = 0.3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
top-right-preview = {
|
||||||
|
plugins.web-devicons.enable = true;
|
||||||
|
plugins.trouble = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
modes = {
|
||||||
|
preview_float = {
|
||||||
|
mode = "diagnostics";
|
||||||
|
preview = {
|
||||||
|
type = "float";
|
||||||
|
relative = "editor";
|
||||||
|
border = "rounded";
|
||||||
|
title = "Preview";
|
||||||
|
title_pos = "center";
|
||||||
|
position = [
|
||||||
|
0
|
||||||
|
(-2)
|
||||||
|
];
|
||||||
|
size = {
|
||||||
|
width = 0.3;
|
||||||
|
height = 0.3;
|
||||||
|
};
|
||||||
|
zindex = 200;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
no-icons = {
|
no-icons = {
|
||||||
plugins.web-devicons.enable = false;
|
plugins.web-devicons.enable = false;
|
||||||
plugins.trouble = {
|
plugins.trouble = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue