From 09b4d0c7a285d14c330bbd6ec8db0761ddc2bc64 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 21 Dec 2025 10:26:22 +0100 Subject: feat: add LSP references and fix keymap for recent files in telescope plugin --- lua/ache/lazy.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/ache/lazy.lua') diff --git a/lua/ache/lazy.lua b/lua/ache/lazy.lua index be9ad75..e01d3cb 100644 --- a/lua/ache/lazy.lua +++ b/lua/ache/lazy.lua @@ -120,6 +120,7 @@ vim.api.nvim_create_autocmd("LspAttach", { end local tele_defs_action = "Telescope lsp_definitions" + local tele_refs_action = "Telescope lsp_references" local tele_impl_action = "Telescope lsp_implementations" local tele_typedefs_action = "Telescope lsp_type_definitions" local tele_diag_action = "Telescope diagnostics bufnr=0" @@ -136,7 +137,7 @@ vim.api.nvim_create_autocmd("LspAttach", { map("E", vim.diagnostic.open_float, "Open Diagnostics") map("k", vim.lsp.buf.signature_help, "Signature Help") map("rn", vim.lsp.buf.rename, "Rename") - map("f", vim.lsp.buf.format, "Format") + map("lf", vim.lsp.buf.format, "Format") map("gR", "Telescope lsp_references", "Show LSP references") map("gD", vim.lsp.buf.declaration, "Go to declaration") -- cgit v1.3-2-g11bf