Fix signature_help toggle

Tue, 30 Apr 2024 22:31:50 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 30 Apr 2024 22:31:50 -0500
changeset 1153
57809d2642ff
parent 1152
59d9ca2ec2fd
child 1154
dc04a7db1e83

Fix signature_help toggle

.config/nvim/lua/config/maps.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/config/maps.lua
+++ b/.config/nvim/lua/config/maps.lua
@@ -88,7 +88,7 @@ vim.api.nvim_create_autocmd("LspAttach",
     map("n", "gd", vim.lsp.buf.definition, bufopts)
     map("n", "K", vim.lsp.buf.hover, bufopts)
     map("n", "gi", vim.lsp.buf.implementation, bufopts)
-    map("n", "<C-S>", vim.lsp.buf.signature_help, bufopts)
+    map("i", "<C-S>", vim.lsp.buf.signature_help, bufopts)
     map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, bufopts)
     map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, bufopts)
     map("n", "<leader>wl", function()

mercurial