summaryrefslogtreecommitdiff
path: root/lua/ache/lazy.lua
diff options
context:
space:
mode:
authorache <ache@ache.one>2025-12-21 10:27:53 +0100
committerache <ache@ache.one>2025-12-21 10:27:53 +0100
commitbec2c982ff6dcfff6dc76fc39cd0984384abad3e (patch)
tree891d2f3a1e2835d1cfba94febbe65c59ed2365b3 /lua/ache/lazy.lua
parentfeat: add LSP references and fix keymap for recent files in telescope plugin (diff)
feat: add line diagnostics with tools info to lsp and create new keymap for it
Diffstat (limited to 'lua/ache/lazy.lua')
-rw-r--r--lua/ache/lazy.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/ache/lazy.lua b/lua/ache/lazy.lua
index e01d3cb..1800f12 100644
--- a/lua/ache/lazy.lua
+++ b/lua/ache/lazy.lua
@@ -160,5 +160,12 @@ vim.api.nvim_create_autocmd("LspAttach", {
vim.lsp.buf.code_action,
{ buffer = args.buf, desc = "Lsp: See available code actions" }
)
+
+ vim.keymap.set(
+ "n",
+ "<leader>lt",
+ require("ache.diagnostics").line_diagnostics,
+ { buffer = args.buf, silent = true, desc = "Show diagnostics tools used" }
+ )
end,
})