added trouble

This commit is contained in:
chloe 2025-07-07 17:41:41 +02:00
parent 6294a0a2ca
commit 92a1ca2692
3 changed files with 30 additions and 0 deletions

View file

@ -43,5 +43,6 @@
diagnostic.settings = {
virtual_text = false;
virtual_line = true;
};
}

View file

@ -108,6 +108,25 @@
desc = "Toggle terminal";
};
}
# trouble.nvim
{
mode = "n";
action = "<cmd>Trouble diagnostics toggle<cr>";
key = "<Leader>xx";
options = {
desc = "Diagnostics (Trouble)";
};
}
{
mode = "n";
action = "<cmd>Trouble diagnostics toggle filter.buf=0<cr>";
key = "<Leader>xX";
options = {
desc = "Buffer Diagnostics (Trouble)";
};
}
];
plugins.fzf-lua.keymaps = {

View file

@ -159,5 +159,15 @@
toggleterm = {
enable = true;
};
trouble = {
enable = true;
settings = {
auto_jump = true;
auto_refresh = true;
};
};
todo-comments = {
enable = true;
};
};
}