34 lines
624 B
Nix
34 lines
624 B
Nix
{
|
|
plugins.trouble.enable = true;
|
|
keymaps = [
|
|
{
|
|
key = "<leader>xx";
|
|
action = "<cmd>TroubleToggle<CR>";
|
|
options = {
|
|
silent = true;
|
|
};
|
|
}
|
|
{
|
|
key = "<leader>xd";
|
|
action = "<cmd>TroubleToggle document_diagnostics<CR>";
|
|
options = {
|
|
silent = true;
|
|
};
|
|
}
|
|
{
|
|
key = "<leader>xw";
|
|
action = "<cmd>TroubleToggle workspace_diagnostics<CR>";
|
|
options = {
|
|
silent = true;
|
|
};
|
|
}
|
|
{
|
|
key = "<leader>xq";
|
|
action = "<cmd>TroubleToggle quickfix<CR>";
|
|
options = {
|
|
silent = true;
|
|
};
|
|
}
|
|
];
|
|
}
|