mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-08 20:15:01 +02:00
nvim config
This commit is contained in:
parent
56b9114bf2
commit
2234b188fb
23 changed files with 1810 additions and 920 deletions
15
lua/colinzhao/lazy_init.lua
Normal file
15
lua/colinzhao/lazy_init.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
-- [[ Install `lazy.nvim` plugin manager ]]
|
||||
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
|
||||
vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
|
||||
end ---@diagnostic disable-next-line: undefined-field
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require('lazy').setup {
|
||||
spec = 'colinzhao.lazy',
|
||||
change_detection = {
|
||||
notify = false,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue