42 lines
726 B
Lua
42 lines
726 B
Lua
-- Install lazy package manager
|
|
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)
|
|
|
|
-- Setup
|
|
require("keymaps")
|
|
require("options")
|
|
require("autocmds")
|
|
require("lsp")
|
|
|
|
-- Configure plugins
|
|
require("lazy").setup({
|
|
{ import = "themes" },
|
|
{ import = "plugins" },
|
|
}, {
|
|
install = {
|
|
colorscheme = {
|
|
"gruvbox",
|
|
},
|
|
},
|
|
change_detection = {
|
|
notify = false,
|
|
},
|
|
rocks = {
|
|
enabled = false,
|
|
},
|
|
ui = {
|
|
border = require("symbols.window").border,
|
|
backdrop = 100,
|
|
},
|
|
})
|