You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have set up a simple init.lua file with the following settings.
My intention is to have lazy and all other plugins stored under the directory named my_plugins
vim.g.mapleader = '\'
vim.g.maplocalleader = "\"
local data_path = vim.fn.stdpath("data")
local plugins_path = data_path .. '/my_plugins'
local lazy_plug_path = plugins_path .. '/lazy/lazy.nvim'
local lazypath = lazy_plug_path
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)
--local plug_mini_surround = {'echasnovski/mini.surround'}
local plug_neorg = { "nvim-neorg/neorg"}
In the code above I edited the root path in the defaults settings of lazy.nvim. This gives me a strange behavior, every time nvim
starts the lazy.nvim repo is cloned again and lazy.nvim adds itself in the clean stack. Like in the following image
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
have set up a simple init.lua file with the following settings.
My intention is to have lazy and all other plugins stored under the directory named my_plugins
In the code above I edited the root path in the defaults settings of lazy.nvim. This gives me a strange behavior, every time nvim
starts the lazy.nvim repo is cloned again and lazy.nvim adds itself in the clean stack. Like in the following image
My file structure is like this
Is this behavior expected or is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions