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
|
-- 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' })
|
||||||
|
|
Loading…
Reference in a new issue