dotfiles/home/config/nvim/init.lua

18 lines
474 B
Lua
Raw Normal View History

2023-11-16 21:35:04 +00:00
require("settings_before")
2023-03-01 03:47:28 +00:00
vim.g.python3_host_prog = '/opt/nvimpython/.nvim.pythonenv/bin/python3'
2023-11-16 17:37:21 +00:00
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,
2023-02-28 04:46:59 +00:00
})
2023-11-16 17:37:21 +00:00
end
vim.opt.rtp:prepend(lazypath)
2023-02-28 04:46:59 +00:00
2023-11-16 17:37:21 +00:00
require("lazy").setup("plugins")
2023-11-16 21:35:04 +00:00
require("settings_after")