diff options
Diffstat (limited to '.config/nvim/lua/plugins/trouble.lua')
-rw-r--r-- | .config/nvim/lua/plugins/trouble.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugins/trouble.lua b/.config/nvim/lua/plugins/trouble.lua index 6d72bd9..b80aed3 100644 --- a/.config/nvim/lua/plugins/trouble.lua +++ b/.config/nvim/lua/plugins/trouble.lua | |||
@@ -5,8 +5,10 @@ return { | |||
5 | config = function() | 5 | config = function() |
6 | local map = require("helpers.keys").map | 6 | local map = require("helpers.keys").map |
7 | map("n", "<leader>xx", function() require("trouble").open() end, "trouble: open") | 7 | map("n", "<leader>xx", function() require("trouble").open() end, "trouble: open") |
8 | map("n", "<leader>xw", function() require("trouble").open("workspace_diagnostics") end, "trouble: open workspace diagnostics") | 8 | map("n", "<leader>xw", function() require("trouble").open("workspace_diagnostics") end, |
9 | map("n", "<leader>xd", function() require("trouble").open("document_diagnostics") end, "trouble: open document diagnostics") | 9 | "trouble: open workspace diagnostics") |
10 | map("n", "<leader>xd", function() require("trouble").open("document_diagnostics") end, | ||
11 | "trouble: open document diagnostics") | ||
10 | map("n", "<leader>xq", function() require("trouble").open("quickfix") end, "trouble: open quickfix") | 12 | map("n", "<leader>xq", function() require("trouble").open("quickfix") end, "trouble: open quickfix") |
11 | map("n", "<leader>xl", function() require("trouble").open("loclist") end, "trouble: open loclist") | 13 | map("n", "<leader>xl", function() require("trouble").open("loclist") end, "trouble: open loclist") |
12 | map("n", "gR", function() require("trouble").open("lsp_references") end, "trouble: open lsp references") | 14 | map("n", "gR", function() require("trouble").open("lsp_references") end, "trouble: open lsp references") |