nvim/init.lua
2023-01-13 22:10:29 +01:00

27 lines
552 B
Lua

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",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
require 'config.settings'
require 'config.lazy'
vim.api.nvim_create_autocmd('User', {
pattern = 'VeryLazy',
callback = function()
require 'config.autocmd'
require 'config.mappings'
end,
})
vim.o.background = 'dark'
vim.cmd 'colorscheme gruvbox'