fiplox
650c582972
Moved all plugins that I don't change often/ever to plugins/init.lua. Removed mason-lspconfig, not useful in my case.
30 lines
606 B
Lua
30 lines
606 B
Lua
vim.loader.enable()
|
|
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)
|
|
|
|
vim.api.nvim_create_autocmd('User', {
|
|
pattern = 'LazyVimStarted',
|
|
callback = function()
|
|
require 'feline'
|
|
require 'config.mappings'
|
|
require 'config.autocmd'
|
|
require 'noice'
|
|
require 'nvim-treesitter'
|
|
vim.cmd 'colorscheme neogruber'
|
|
end,
|
|
})
|
|
|
|
require 'config.settings'
|
|
require 'config.lazy'
|