stuff and things
This commit is contained in:
@ -1,14 +1,15 @@
|
||||
vim.cmd("source " .. vim.env.HOME .. "/.vimrc")
|
||||
|
||||
vim.g.maplocalleader = ","
|
||||
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",
|
||||
lazypath,
|
||||
})
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
vim.opt.rtp:prepend(vim.env.HOME .. "/.vim")
|
||||
@ -21,16 +22,16 @@ require("config.tmpl")
|
||||
require("config.zip")
|
||||
|
||||
require("lazy").setup({
|
||||
-- this entry tells lazy.nvim to load the list of of *.lua files from plugins/
|
||||
import = "plugins" ,
|
||||
-- Dev configuration
|
||||
dev = {
|
||||
-- Directory where you store your local plugin projects
|
||||
path = "~/neovim-plugins/squk/",
|
||||
-- @type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
|
||||
patterns = { "squk" },
|
||||
fallback = false, -- Fallback to git when local plugin doesn't exist
|
||||
},
|
||||
-- this entry tells lazy.nvim to load the list of of *.lua files from plugins/
|
||||
import = "plugins",
|
||||
-- Dev configuration
|
||||
dev = {
|
||||
-- Directory where you store your local plugin projects
|
||||
path = "~/neovim-plugins/squk/",
|
||||
-- @type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
|
||||
patterns = { "squk" },
|
||||
fallback = false, -- Fallback to git when local plugin doesn't exist
|
||||
},
|
||||
})
|
||||
|
||||
vim.opt.undodir = vim.fn.expand("$HOME") .. "/.undo/"
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" }
|
||||
"lazy.nvim": { "branch": "main", "commit": "e5e9bf48211a13d9ee6c1077c88327c49c1ab4a0" }
|
||||
}
|
||||
|
Reference in New Issue
Block a user