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/set.lua | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'lua/config/set.lua') diff --git a/lua/config/set.lua b/lua/config/set.lua index 08c5d26..82fd73f 100644 --- a/lua/config/set.lua +++ b/lua/config/set.lua @@ -63,6 +63,7 @@ opt.showmatch = false -- highlight line at cursor opt.cursorline = true opt.textwidth = 100 +opt.colorcolumn = "100" -- status line -- show ruler @@ -99,18 +100,6 @@ end opt.title = true --- rounded border around floating windows -local _border = "rounded" -vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { - border = _border, -}) -vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { - border = _border, -}) -vim.diagnostic.config({ - float = { border = _border }, -}) - -- Highlighting vim.cmd("match Todo /\\(TODO\\|FIXME\\):/") -- cgit v1.2.3