aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-03-21 13:42:12 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2026-03-21 13:42:12 +0100
commitdfb342da4ebee21f29fa0713be5e61123a0cf36f (patch)
tree841e119a8335bb00bdf4b5a10c88ec352fcf8e30 /init.lua
parent9ae165fa0d8cd1ecc433026642484c167c3e0b88 (diff)
downloadconfig.nvim-dfb342da4ebee21f29fa0713be5e61123a0cf36f.tar.gz
config.nvim-dfb342da4ebee21f29fa0713be5e61123a0cf36f.zip
refactor: restructure LSP configuration and modernize plugins
- 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
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index f9c97c6..1b69e28 100644
--- a/init.lua
+++ b/init.lua
@@ -1,7 +1,7 @@
require("simenandre")
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not vim.loop.fs_stat(lazypath) then
+if not vim.uv.fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
end ---@diagnostic disable-next-line: undefined-field