diff options
| author | dacctal <dacctalyt@gmail.com> | 2026-04-19 15:58:03 +0000 |
|---|---|---|
| committer | dacctal <dacctalyt@gmail.com> | 2026-04-19 15:58:03 +0000 |
| commit | 2e6e6d04b2c24a0666b015ef4f73718e2fe7c861 (patch) | |
| tree | 51ee086d8e075d0d01ce01a1855058f95ecdf74d /.config/nvim-lazy/lua/plugins/trouble.lua | |
| parent | d19b491454c9f793d2e311dd09f70a88240dda29 (diff) | |
added vis and nvim-12+ configs
Diffstat (limited to '.config/nvim-lazy/lua/plugins/trouble.lua')
| -rw-r--r-- | .config/nvim-lazy/lua/plugins/trouble.lua | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/nvim-lazy/lua/plugins/trouble.lua b/.config/nvim-lazy/lua/plugins/trouble.lua new file mode 100644 index 0000000..3741f30 --- /dev/null +++ b/.config/nvim-lazy/lua/plugins/trouble.lua @@ -0,0 +1,37 @@ +return { + "folke/trouble.nvim", + opts = {}, -- for default options, refer to the configuration section for custom setup. + cmd = "Trouble", + keys = { + { + "<leader>xx", + "<cmd>Trouble diagnostics toggle<cr>", + desc = "Diagnostics (Trouble)", + }, + { + "<leader>xX", + "<cmd>Trouble diagnostics toggle filter.buf=0<cr>", + desc = "Buffer Diagnostics (Trouble)", + }, + { + "<leader>cs", + "<cmd>Trouble symbols toggle focus=false<cr>", + desc = "Symbols (Trouble)", + }, + { + "<leader>cl", + "<cmd>Trouble lsp toggle focus=false win.position=right<cr>", + desc = "LSP Definitions / references / ... (Trouble)", + }, + { + "<leader>xL", + "<cmd>Trouble loclist toggle<cr>", + desc = "Location List (Trouble)", + }, + { + "<leader>xQ", + "<cmd>Trouble qflist toggle<cr>", + desc = "Quickfix List (Trouble)", + }, + }, +} |
