nvim/init.lua
RingOfStorms (Joshua Bell) dc3e319f27 Working on LSP and shit like that, Astro config is confusing, need to
learn it myself from scratch
2023-05-23 02:56:59 -05:00

30 lines
646 B
Lua

require "options"
require "keymaps"
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
local output = vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
if vim.api.nvim_get_vvar "shell_error" ~= 0 then
vim.api.nvim_err_writeln("Error cloning lazy.nvim repository...\n\n" .. output)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup("user", {
change_detection = {
enabled = false,
}
})
vim.cmd 'colorscheme material'
require "autocommands"