diff options
| author | ache <ache@ache.one> | 2025-12-21 10:27:53 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-12-21 10:27:53 +0100 |
| commit | bec2c982ff6dcfff6dc76fc39cd0984384abad3e (patch) | |
| tree | 891d2f3a1e2835d1cfba94febbe65c59ed2365b3 /lua/ache/lazy.lua | |
| parent | feat: 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.lua | 7 |
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, }) |