nvim/init.lua
2022-12-31 17:43:31 +01:00

20 lines
432 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'
require 'config.mappings'
require 'config.autocmd'
vim.cmd 'colorscheme tokyonight'