mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-16 07:26:46 +00:00
29
nvim/lua/config/lazy.lua
Normal file
29
nvim/lua/config/lazy.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or 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,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{ import = 'plugins' },
|
||||
{ import = 'plugins.lsp' },
|
||||
},
|
||||
ui = {
|
||||
border = 'rounded',
|
||||
icons = {
|
||||
task = ' ',
|
||||
}
|
||||
},
|
||||
-- change_detection = {
|
||||
-- notify = false,
|
||||
-- }
|
||||
})
|
||||
Reference in New Issue
Block a user