-
-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Labels
broken pluginPlugin broken due to breaking change in pluginPlugin broken due to breaking change in pluginbugSomething isn't workingSomething isn't working
Description
Checklist
- I have searched through the AstroNvim documentation
- I have searched through the existing issues of this project
- I have searched the existing issues of plugins related to this issue
- I can replicate the bug with the minimal
repro.luaprovided below
Neovim version (nvim -v)
0.10.4
Operating system/version
Arch Linux
Terminal/GUI
Ghostty
Describe the bug
Failed to run `config` for yanky.nvim
...are/nvim/lazy/yanky.nvim/lua/yanky/telescope/mapping.lua:3: module 'telescope.actions' not found:
no field package.preload['telescope.actions']
cache_loader: module telescope.actions not found
cache_loader_lib: module telescope.actions not found
no file './telescope/actions.lua'
no file '/usr/share/luajit-2.1/telescope/actions.lua'
no file '/usr/local/share/lua/5.1/telescope/actions.lua'
no file '/usr/local/share/lua/5.1/telescope/actions/init.lua'
no file '/usr/share/lua/5.1/telescope/actions.lua'
no file '/usr/share/lua/5.1/telescope/actions/init.lua'
no file './telescope/actions.so'
no file '/usr/local/lib/lua/5.1/telescope/actions.so'
no file '/usr/lib/lua/5.1/telescope/actions.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './telescope.so'
no file '/usr/local/lib/lua/5.1/telescope.so'
no file '/usr/lib/lua/5.1/telescope.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
# stacktrace:
- /yanky.nvim/lua/yanky/telescope/mapping.lua:3
- /astrocommunity/lua/astrocommunity/editing-support/yanky-nvim/init.lua:41 _in_ **values**
- lua/lazy_setup.lua:1
- init.lua:18
Steps to Reproduce
Edited to contain yanky, {import = "astrocommunity.editing-support.yanky-nvim" } in the community.lua file
Full community.lua
-- AstroCommunity: import any community modules here
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
-- This guarantees that the specs are processed before any user plugins.
---@type LazySpec
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
{ import = "astrocommunity.colorscheme.catppuccin" },
{ import = "astrocommunity.editing-support.yanky-nvim" },
-- import/override with your plugins folder
}
Expected behavior
integration of yanky.nvim
Screenshots
No response
Additional Context
No response
Minimal configuration
-- i dont know how this works, i am new
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
-- install plugins
local plugins = {
{ "AstroNvim/AstroNvim", import = "astronvim.plugins" },
{ "AstroNvim/astrocommunity" },
-- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here (autocommands, vim.filetype, etc.)Metadata
Metadata
Assignees
Labels
broken pluginPlugin broken due to breaking change in pluginPlugin broken due to breaking change in pluginbugSomething isn't workingSomething isn't working