First commit
This commit is contained in:
24
lua/lazy/init.lua
Normal file
24
lua/lazy/init.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
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,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
opts = {
|
||||
install = {
|
||||
colorsheme = { "onedark" },
|
||||
},
|
||||
checker = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
},
|
||||
}
|
||||
|
||||
require("lazy").setup("lazy.plugins", opts)
|
||||
10
lua/lazy/plugins/onedark.lua
Normal file
10
lua/lazy/plugins/onedark.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
function conf()
|
||||
require('onedark').load()
|
||||
end
|
||||
|
||||
return {
|
||||
"navarasu/onedark.nvim",
|
||||
lazy=false,
|
||||
priority = 1000,
|
||||
config = conf
|
||||
}
|
||||
Reference in New Issue
Block a user