Shorten init.lua
This commit is contained in:
parent
3353b099be
commit
23ac458935
20
init.lua
20
init.lua
@ -2,24 +2,14 @@ require('settings')
|
||||
require('mappings')
|
||||
require('netrw')
|
||||
require('autocmds')
|
||||
require('build')
|
||||
require('statusline')
|
||||
require('build')
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
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",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
vim.fn.system({ 'git', 'clone', '--filter=blob:none',
|
||||
'https://github.com/folke/lazy.nvim.git', '--branch=stable', lazypath })
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require('lazy').setup('plugins', {
|
||||
change_detection = {
|
||||
enabled = false,
|
||||
},
|
||||
})
|
||||
require('lazy').setup('plugins', { change_detection = { enabled = false } })
|
||||
|
Loading…
x
Reference in New Issue
Block a user