nvim: update: setting up trouble.nvim v3
- just using default configs
This commit is contained in:
parent
4fefdd20b2
commit
372040d1d7
1 changed files with 34 additions and 1 deletions
|
@ -131,7 +131,40 @@ require('lazy').setup({
|
|||
},
|
||||
{
|
||||
'folke/trouble.nvim',
|
||||
-- config = function
|
||||
opts = {},
|
||||
cmd = "Trouble",
|
||||
keys = {
|
||||
{
|
||||
"<space>xx",
|
||||
"<cmd>Trouble diagnostics toggle<cr>",
|
||||
desc = "Diagnostics (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xX",
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
||||
desc = "Buffer Diagnostics (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>cs",
|
||||
"<cmd>Trouble symbols toggle focus=false<cr>",
|
||||
desc = "Symbols (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>cl",
|
||||
"<cmd>Trouble lsp toggle focus=false win.position=bottom<cr>",
|
||||
desc = "LSP Definitions / references / ... (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xL",
|
||||
"<cmd>Trouble loclist toggle<cr>",
|
||||
desc = "Location List (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xQ",
|
||||
"<cmd>Trouble qflist toggle<cr>",
|
||||
desc = "Quickfix List (Trouble)",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'Julian/lean.nvim',
|
||||
|
|
Loading…
Reference in a new issue