added trouble
This commit is contained in:
parent
6294a0a2ca
commit
92a1ca2692
3 changed files with 30 additions and 0 deletions
|
@ -43,5 +43,6 @@
|
|||
|
||||
diagnostic.settings = {
|
||||
virtual_text = false;
|
||||
virtual_line = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -159,5 +159,15 @@
|
|||
toggleterm = {
|
||||
enable = true;
|
||||
};
|
||||
trouble = {
|
||||
enable = true;
|
||||
settings = {
|
||||
auto_jump = true;
|
||||
auto_refresh = true;
|
||||
};
|
||||
};
|
||||
todo-comments = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue