mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2024-06-13
This commit is contained in:
@@ -1,26 +1,17 @@
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
version = "*",
|
||||
cmd = "Trouble",
|
||||
keys = {
|
||||
{
|
||||
"<leader>tt",
|
||||
function()
|
||||
require("trouble").toggle()
|
||||
end,
|
||||
"<cmd>Trouble diagnostics toggle<cr>",
|
||||
desc = "Toggle trouble",
|
||||
},
|
||||
{
|
||||
"<leader>tw",
|
||||
function()
|
||||
require("trouble").toggle("workspace_diagnostics")
|
||||
end,
|
||||
desc = "[W]orkspace Diagnostics",
|
||||
},
|
||||
{
|
||||
"<leader>td",
|
||||
function()
|
||||
require("trouble").toggle("document_diagnostics")
|
||||
end,
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
||||
desc = "[D]ocument Diagnostics",
|
||||
},
|
||||
},
|
||||
@@ -28,7 +19,6 @@ return {
|
||||
position = "bottom", -- position of the list can be: bottom, top, left, right
|
||||
height = 10, -- height of the trouble list when position is top or bottom
|
||||
width = 50, -- width of the list when position is left or right
|
||||
icons = true, -- use devicons for filenames
|
||||
mode = "workspace_diagnostics", -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
|
||||
severity = nil, -- nil (ALL) or vim.diagnostic.severity.ERROR | WARN | INFO | HINT
|
||||
fold_open = "", -- icon used for open folds
|
||||
|
||||
Reference in New Issue
Block a user