nvim/init.lua

27 lines
552 B
Lua
Raw Normal View History

2023-01-01 19:36:00 +01:00
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
2022-12-31 17:43:31 +01:00
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'
2023-01-01 19:36:00 +01:00
vim.api.nvim_create_autocmd('User', {
pattern = 'VeryLazy',
callback = function()
require 'config.autocmd'
require 'config.mappings'
end,
})
2022-12-31 17:43:31 +01:00
2023-01-13 22:10:29 +01:00
vim.o.background = 'dark'
vim.cmd 'colorscheme gruvbox'