summaryrefslogtreecommitdiff
path: root/lua/config/set.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/set.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/set.lua')
-rw-r--r--lua/config/set.lua13
1 files changed, 1 insertions, 12 deletions
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\\):/")