dev config
This commit is contained in:
@ -16,14 +16,21 @@ vim.opt.rtp:prepend(vim.env.HOME .. "/.vim/lua")
|
|||||||
|
|
||||||
package.path = package.path .. ";" .. vim.env.HOME .. "/.vim/lua/?.lua"
|
package.path = package.path .. ";" .. vim.env.HOME .. "/.vim/lua/?.lua"
|
||||||
|
|
||||||
local plugins = {
|
|
||||||
-- this entry tells lazy.nvim to load the list of of *.lua files from plugins/
|
|
||||||
{ import = "plugins" },
|
|
||||||
}
|
|
||||||
require("config.clipboard")
|
require("config.clipboard")
|
||||||
require("config.tmpl")
|
require("config.tmpl")
|
||||||
require("config.zip")
|
require("config.zip")
|
||||||
|
|
||||||
require("lazy").setup(plugins)
|
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
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
vim.opt.undodir = vim.fn.expand("$HOME") .. "/.undo/"
|
vim.opt.undodir = vim.fn.expand("$HOME") .. "/.undo/"
|
||||||
|
6
vim/.vim/lua/plugins/dev.lua
Normal file
6
vim/.vim/lua/plugins/dev.lua
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
-- {
|
||||||
|
-- "squk/google3.nvim",
|
||||||
|
-- dev = true,
|
||||||
|
-- },
|
||||||
|
}
|
Reference in New Issue
Block a user