summaryrefslogtreecommitdiff
path: root/lua/config/lazy.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-01 12:32:15 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-01 12:46:03 +0200
commit392d3df314874fe802d51f84e3a63f82a8ab893b (patch)
treef8cfbd92339eb40a8fb8fd8aea29bad46e3ac0c5 /lua/config/lazy.lua
parent08fe2898811816fd0a096e6996d8ed25d2e940c8 (diff)
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
Diffstat (limited to 'lua/config/lazy.lua')
-rw-r--r--lua/config/lazy.lua29
1 files changed, 29 insertions, 0 deletions
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
@@ -47,6 +47,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",
version = "v2.*",
@@ -65,6 +75,25 @@ require("lazy").setup({
},
{
+ "folke/which-key.nvim",
+ event = "VeryLazy",
+ opts = {
+ win = {
+ border = "rounded",
+ },
+ },
+ keys = {
+ {
+ "<leader>?",
+ function()
+ require("which-key").show({ global = false })
+ end,
+ desc = "Buffer Local Keymaps (which-key)",
+ },
+ },
+ },
+
+ {
"christoomey/vim-tmux-navigator",
cmd = {
"TmuxNavigateLeft",