From dfb342da4ebee21f29fa0713be5e61123a0cf36f Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Mar 2026 13:42:12 +0100 Subject: refactor: restructure LSP configuration and modernize plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Split LSP server configs into separate files in lsp/ directory - Replace deprecated vim.loop with vim.uv API - Update copilot plugin (copilot.vim → copilot.lua) - Add snacks.nvim plugin for utilities - Simplify LSP setup using new Neovim 0.11+ APIs - Remove hardcoded paths in favor of vim.fs.joinpath - Clean up configuration and remove duplicate keybindings - Remove comment.lua plugin --- lua/simenandre/set.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'lua/simenandre/set.lua') diff --git a/lua/simenandre/set.lua b/lua/simenandre/set.lua index 1bd1b6c..18a43fe 100644 --- a/lua/simenandre/set.lua +++ b/lua/simenandre/set.lua @@ -66,7 +66,7 @@ vim.opt.cursorline = true vim.opt.scrolloff = 10 vim.opt.tabstop = 2 -vim.opt.softtabstop = 4 +vim.opt.softtabstop = 2 vim.opt.shiftwidth = 2 vim.opt.expandtab = true @@ -75,17 +75,3 @@ vim.opt.smartindent = true vim.opt.colorcolumn = "80" vim.opt.wrap = false --- [[ Basic Autocommands ]] --- See `:help lua-guide-autocommands` --- - --- Highlight when yanking (copying) text --- Try it with `yap` in normal mode --- See `:help vim.highlight.on_yank()` -vim.api.nvim_create_autocmd("TextYankPost", { - desc = "Highlight when yanking (copying) text", - group = vim.api.nvim_create_augroup("kickstart-highlight-yank", { clear = true }), - callback = function() - vim.highlight.on_yank() - end, -}) -- cgit v1.3.1