[neovim] lsp_signature.nvim

This commit is contained in:
Adam Cooper 2023-11-29 09:07:00 -05:00
parent 5bed974dda
commit a54e76ced0

View file

@ -62,6 +62,7 @@ vim.keymap.set(
{"n", "t"}, {"n", "t"},
"<leader>z", "<leader>z",
function () 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 -- TODO: Wrap the function body in an if statement to verify existence of idelayout
vim.cmd("exec idelayout") vim.cmd("exec idelayout")
end, 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.nvim",
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
"nvimdev/lspsaga.nvim", "nvimdev/lspsaga.nvim",
@ -166,6 +173,8 @@ vim.keymap.set('n', '<leader>fg', builtin.live_grep, { desc = 'Telescope: live g
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = 'Telescope: buffers' }) vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = 'Telescope: buffers' })
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope: help tags' }) vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope: help tags' })
require"lsp_signature".setup()
--[[ nvim-cmp --[[ nvim-cmp
nvim-cmp is a text completion engine. nvim-cmp is a text completion engine.
]] ]]