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/plugins/oil.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lua/simenandre/plugins/oil.lua') diff --git a/lua/simenandre/plugins/oil.lua b/lua/simenandre/plugins/oil.lua index 7b4ca42..483d561 100644 --- a/lua/simenandre/plugins/oil.lua +++ b/lua/simenandre/plugins/oil.lua @@ -84,8 +84,10 @@ return { vim.keymap.set( "n", "dd", - "Oil /Users/cobraz/ghq/github.com/simenandre/notes/", - { desc = "Open parent directory" } + function() + vim.cmd("Oil " .. vim.fs.joinpath(vim.env.HOME, "ghq/github.com/simenandre/notes")) + end, + { desc = "Open notes directory" } ) end, } -- cgit v1.3.1