dotfiles/home/config/nvim/init.lua
2024-11-01 14:52:50 -04:00

20 lines
550 B
Lua

vim.env.PATH = vim.env.HOME .. "/.local/share/mise/shims:" .. vim.env.PATH
require("settings_before")
vim.g.python3_host_prog = '/opt/nvimpython/.nvim.pythonenv/bin/python3'
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)
require("lazy").setup("plugins")
require("settings_after")