From 9e40d58510b3ff25953cd9ad791592de5f6bcfb1 Mon Sep 17 00:00:00 2001 From: Aotrix Date: Fri, 28 Feb 2025 19:38:02 +0100 Subject: added trouble plugin --- lua/aotrix/plugins/trouble.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lua/aotrix/plugins/trouble.lua (limited to 'lua/aotrix/plugins') diff --git a/lua/aotrix/plugins/trouble.lua b/lua/aotrix/plugins/trouble.lua new file mode 100644 index 0000000..2a93de4 --- /dev/null +++ b/lua/aotrix/plugins/trouble.lua @@ -0,0 +1,32 @@ +return { + "folke/trouble.nvim", + opts = {}, -- for default options, refer to the configuration section for custom setup. + cmd = "Trouble", + keys = { + { + "xx", + "Trouble diagnostics toggle", + desc = "Diagnostics (Trouble)" + }, { + "xX", + "Trouble diagnostics toggle filter.buf=0", + desc = "Buffer Diagnostics (Trouble)" + }, { + "cs", + "Trouble symbols toggle focus=false", + desc = "Symbols (Trouble)" + }, { + "cl", + "Trouble lsp toggle focus=false win.position=right", + desc = "LSP Definitions / references / ... (Trouble)" + }, { + "xL", + "Trouble loclist toggle", + desc = "Location List (Trouble)" + }, { + "xQ", + "Trouble qflist toggle", + desc = "Quickfix List (Trouble)" + } + } +} -- cgit v1.2.3