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
3a. (or optionally with same dirmane) { dir = "~/.local/share/nvim/lazy/LazyVim/", import = "lazyvim.plugins" },
3b. (also tried directly cloning it:) git clone https://github.com/TheJoeSchr/LazyVim ~/.local/share/nvim/lazy/LazyVim/
4. open nvim, let everything Install => all should be fine
5. close and reopen => above error
Expected Behavior
Letting me use my own fork. Or even preferably a easy way to slim down plugins and keymaps not needed. I'm converting my original init.vim and :checkhealth WhichKey crashes and :checkhealth Lazy complains about quite a lot of overrides. So that's why I thought I try this route.
Repro
locallazypath=vim.fn.stdpath("data") .."/lazy/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) then-- bootstrap lazy.nvim-- stylua: ignorevim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
endvim.opt.rtp:prepend(vim.env.LAZYorlazypath)
require("lazy").setup({
spec= {
-- import LazyVim plugins-- { "LazyVim/LazyVim", import = "lazyvim.plugins" },-- { "TheJoeSchr/LazyVim", dir = "~/.local/share/nvim/lazy/LazyVimJoe/", import = "lazyvim.plugins" },
{ dir="~/.local/share/nvim/lazy/LazyVimJoe/", import="lazyvim.plugins" },
{ import="plugins" },
-- import any extras modules here-- for typescript, LazyVim also includes extra specs to properly setup lspconfig,-- treesitter, mason and typescript.nvim. So instead of the above, you can use:
{ import="lazyvim.plugins.extras.lang.typescript" },
-- add jsonls and schemastore ans setup treesitter for json, json5 and jsonc
{ import="lazyvim.plugins.extras.lang.json" },
-- use my own mini.starter instead of LazyVim's
{ import="plugins.extras.ui.mini-starter" },
},
defaults= {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.lazy=false,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,-- have outdated releases, which may break your Neovim install.version=false, -- always use the latest git commit-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install= { colorscheme= { "tokyonight", "habamax" } },
checker= { enabled=true }, -- automatically check for plugin updatesperformance= {
rtp= {
-- disable some rtp pluginsdisabled_plugins= {
"gzip",
"matchit",
"matchparen",
-- "netrwPlugin","tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
The text was updated successfully, but these errors were encountered:
You're of course free to fork this repo and do with it what you want, but I hope you understand that I don't support this. I have to chose where I spend my time. You're on your own
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0-dev-594+gc590641feb Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 C
Operating system/version
6.1.1-1-MANJARO #1 SMP PREEMPT_DYNAMIC
Describe the bug
So I'm trying to load my own fork of LazyVim to experiment with getting rid of some plugins, keymaps, etc.
But I'm getting this error after opening nvim for the second time on a fresh install:
Steps To Reproduce
I was using the starter as source, so the file/folder structure is accordingly. I posted the complete
lazy.lua
in belows field forinit.lua
prerequisite:
rm -rf ~/.local/share/nvim/lazy
config/lazy.lua
-- { "LazyVim/LazyVim", import = "lazyvim.plugins" },
3a. (or optionally with same dirmane)
{ dir = "~/.local/share/nvim/lazy/LazyVim/", import = "lazyvim.plugins" },
3b. (also tried directly cloning it:)
git clone https://github.com/TheJoeSchr/LazyVim ~/.local/share/nvim/lazy/LazyVim/
4. open
nvim
, let everything Install => all should be fine5. close and reopen => above error
Expected Behavior
Letting me use my own fork. Or even preferably a easy way to slim down plugins and keymaps not needed. I'm converting my original init.vim and
:checkhealth WhichKey
crashes and:checkhealth Lazy
complains about quite a lot of overrides. So that's why I thought I try this route.Repro
The text was updated successfully, but these errors were encountered: