From a54e76ced0472b093138cd940b0518d2390283b6 Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Wed, 29 Nov 2023 09:07:00 -0500 Subject: [PATCH] [neovim] lsp_signature.nvim --- neovim/init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/neovim/init.lua b/neovim/init.lua index 7152e96..d04eb5b 100644 --- a/neovim/init.lua +++ b/neovim/init.lua @@ -62,6 +62,7 @@ vim.keymap.set( {"n", "t"}, "z", function () + -- This restores the UI to the saved layout 'idelayout' (if saved on command line) -- TODO: Wrap the function body in an if statement to verify existence of idelayout vim.cmd("exec idelayout") end, @@ -116,6 +117,12 @@ require("lazy").setup({ }, }, }, + { + "ray-x/lsp_signature.nvim", + event = "VeryLazy", + opts = {}, + config = function(_, opts) require'lsp_signature'.setup(opts) end + }, "williamboman/mason.nvim", "williamboman/mason-lspconfig.nvim", "nvimdev/lspsaga.nvim", @@ -166,6 +173,8 @@ vim.keymap.set('n', 'fg', builtin.live_grep, { desc = 'Telescope: live g vim.keymap.set('n', 'fb', builtin.buffers, { desc = 'Telescope: buffers' }) vim.keymap.set('n', 'fh', builtin.help_tags, { desc = 'Telescope: help tags' }) +require"lsp_signature".setup() + --[[ nvim-cmp nvim-cmp is a text completion engine. ]]