mirror of
https://codeberg.org/frosty/init.lua.git
synced 2024-09-19 03:26:34 -04:00
move lua stuff to a custom package
This commit is contained in:
parent
d4547a8bc8
commit
491156025e
24
init.lua
24
init.lua
|
@ -1,20 +1,20 @@
|
|||
-- Call other files
|
||||
require('options')
|
||||
require('keymaps')
|
||||
require('autocmds')
|
||||
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
|
||||
})
|
||||
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 = 'plugins' })
|
||||
require('lazy').setup({ spec = 'frosty.plugins' })
|
||||
|
|
Loading…
Reference in a new issue