From 392d3df314874fe802d51f84e3a63f82a8ab893b Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 1 Oct 2024 12:32:15 +0200 Subject: Changes to snippets, lsp, lazy and set.lua - Changed go snippets to be more intuitive - lazy.lua: - Added lsp_signature plugin - Added which-keky plugin - lsp.lua: - Changed lsp.lua to have variables at the top - Added more keybinds for diagnostics - Added gopls configuration for inlay hints - Moved borders from set.lua to lsp.lua - Added ts_ls and powershell lsps - set.lua: - Added colorcolumn option - luasnip.lua: - Added shebang snippet for shell --- lua/config/lazy.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'lua/config/lazy.lua') diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 43362f0..b8b5927 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -46,6 +46,16 @@ require("lazy").setup({ }) end, }, + { + "ray-x/lsp_signature.nvim", + event = "VeryLazy", + opts = { + doc_lines = 0, + }, + config = function(_, opts) + require("lsp_signature").setup(opts) + end, + }, { --snippets "L3MON4D3/LuaSnip", @@ -64,6 +74,25 @@ require("lazy").setup({ event = { "InsertEnter", "CmdlineEnter" }, }, + { + "folke/which-key.nvim", + event = "VeryLazy", + opts = { + win = { + border = "rounded", + }, + }, + keys = { + { + "?", + function() + require("which-key").show({ global = false }) + end, + desc = "Buffer Local Keymaps (which-key)", + }, + }, + }, + { "christoomey/vim-tmux-navigator", cmd = { -- cgit v1.2.3