nvim/init.lua

27 lines
542 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 rose-pine'