Add basic nvim conf, still wip

This commit is contained in:
Martin Larsson 2024-01-20 01:30:13 +01:00
parent d1c2ea53a5
commit 13549985ce
21 changed files with 480 additions and 0 deletions

12
nvim/lua/lazy_init.lua Normal file
View file

@ -0,0 +1,12 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)