summaryrefslogtreecommitdiff
path: root/lua/ache/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ache/lazy.lua')
-rw-r--r--lua/ache/lazy.lua3
1 files changed, 2 insertions, 1 deletions
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 = "<cmd>Telescope lsp_definitions<CR>"
+ local tele_refs_action = "<cmd>Telescope lsp_references<CR>"
local tele_impl_action = "<cmd>Telescope lsp_implementations<CR>"
local tele_typedefs_action = "<cmd>Telescope lsp_type_definitions<CR>"
local tele_diag_action = "<cmd>Telescope diagnostics bufnr=0<CR>"
@@ -136,7 +137,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
map("<leader>E", vim.diagnostic.open_float, "Open Diagnostics")
map("<leader>k", vim.lsp.buf.signature_help, "Signature Help")
map("<leader>rn", vim.lsp.buf.rename, "Rename")
- map("<leader>f", vim.lsp.buf.format, "Format")
+ map("<leader>lf", vim.lsp.buf.format, "Format")
map("<leader>gR", "<cmd>Telescope lsp_references<CR>", "Show LSP references")
map("<leader>gD", vim.lsp.buf.declaration, "Go to declaration")