mirror of
https://codeberg.org/frosty/init.lua.git
synced 2024-09-19 03:26:34 -04:00
21 lines
476 B
Lua
21 lines
476 B
Lua
-- Call other files
|
|
require('frosty.options')
|
|
require('frosty.keymaps')
|
|
require('frosty.autocmds')
|
|
|
|
-- Initialize Lazy
|
|
local lazy_path = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
|
|
if not (vim.uv or vim.loop).fs_stat(lazy_path) then
|
|
vim.fn.system({
|
|
'git',
|
|
'clone',
|
|
'--filter=blob:none',
|
|
'https://github.com/folke/lazy.nvim.git',
|
|
'--branch=stable',
|
|
lazy_path
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazy_path)
|
|
|
|
require('lazy').setup({ spec = 'frosty.plugins' })
|