nvim/init.lua

27 lines
538 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
2023-01-23 21:51:04 +01:00
vim.fn.system {
'git',
'clone',
'--filter=blob:none',
'--single-branch',
'https://github.com/folke/lazy.nvim.git',
lazypath,
}
2022-12-31 17:43:31 +01:00
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-23 21:51:04 +01:00
vim.o.background = 'light'
2023-01-13 22:10:29 +01:00
vim.cmd 'colorscheme gruvbox'