summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-10 00:57:23 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-10 00:57:23 +0200
commit841aaee245dde41c74e8e0227e34cd3c4fd76136 (patch)
treec2d0cb194c4dea7bb49db97b6fc233f1edd3fa3c
parentb10ff24a06431c41e7bf1db54baff053ecae3029 (diff)
Update lsp sig help and doc sym keymaps
-rw-r--r--fnl/plugins/lsp/keymaps.fnl10
1 files changed, 5 insertions, 5 deletions
diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl
index 3e46149..2c01d15 100644
--- a/fnl/plugins/lsp/keymaps.fnl
+++ b/fnl/plugins/lsp/keymaps.fnl
@@ -19,10 +19,6 @@
"<cmd>lua vim.diagnostic.open_float()<CR>"
{:desc :Diagnostics}]
[:n
- :gS
- "<cmd>Telescope lsp_document_symbols theme=dropdown<cr>"
- {:desc "Document Symbols"}]
- [:n
:gj
"<cmd>Telescope diagnostics theme=dropdown<cr>"
{:desc "Telescope Diagnostics"}]
@@ -34,7 +30,11 @@
:gE
"<cmd>Telescope lsp_type_definitions theme=dropdown<cr>"
{:desc "Workspace Symbols"}]
- [:n :gs "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:desc :Signature}]
+ [:n :gm "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:desc :Signature}]
+ [:n
+ :gM
+ "<cmd>Telescope lsp_document_symbols theme=dropdown<cr>"
+ {:desc "Document Symbols"}]
[:n :gh "<cmd>lua vim.lsp.buf.code_action()<cr>" {:desc "Code Action"}]
[:n :gb "<cmd>lua vim.lsp.codelens.run()<cr>" {:desc "Code Lens"}]
[:n :K "<cmd>lua vim.lsp.hover()<cr>" {:desc "Hover documentation"}]