move lua stuff to a custom package

This commit is contained in:
frosty 2024-07-04 16:07:56 -04:00
parent d4547a8bc8
commit 491156025e
5 changed files with 12 additions and 12 deletions

View file

@ -1,20 +1,20 @@
-- Call other files -- Call other files
require('options') require('frosty.options')
require('keymaps') require('frosty.keymaps')
require('autocmds') require('frosty.autocmds')
-- Initialize Lazy -- Initialize Lazy
local lazy_path = vim.fn.stdpath('data') .. '/lazy/lazy.nvim' local lazy_path = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazy_path) then if not (vim.uv or vim.loop).fs_stat(lazy_path) then
vim.fn.system({ vim.fn.system({
'git', 'git',
'clone', 'clone',
'--filter=blob:none', '--filter=blob:none',
'https://github.com/folke/lazy.nvim.git', 'https://github.com/folke/lazy.nvim.git',
'--branch=stable', '--branch=stable',
lazy_path lazy_path
}) })
end end
vim.opt.rtp:prepend(lazy_path) vim.opt.rtp:prepend(lazy_path)
require('lazy').setup({ spec = 'plugins' }) require('lazy').setup({ spec = 'frosty.plugins' })