configure LSP, codelens, and trouble

This commit is contained in:
2026-06-28 20:52:55 +02:00
parent d256020251
commit 9810b20e0b
6 changed files with 71 additions and 25 deletions
+25
View File
@@ -40,6 +40,7 @@ trouble.setup({
auto_preview = true,
auto_refresh = true,
auto_jump = false,
auto_close = true,
modes = {
diagnostics = {
preview = {
@@ -49,5 +50,29 @@ trouble.setup({
size = 0.4
},
},
lsp_declarations = {
preview = {
type = "split",
relative = "win",
position = "right",
size = 0.4
},
},
lsp_definitions = {
preview = {
type = "split",
relative = "win",
position = "right",
size = 0.4
},
},
lsp_references = {
preview = {
type = "split",
relative = "win",
position = "right",
size = 0.4
},
},
},
})