Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

astrocommunity.pack.chezmoi - telescope mapping doesn't work #1269

Open
4 tasks done
RayJameson opened this issue Nov 15, 2024 · 0 comments
Open
4 tasks done

astrocommunity.pack.chezmoi - telescope mapping doesn't work #1269

RayJameson opened this issue Nov 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RayJameson
Copy link
Contributor

RayJameson commented Nov 15, 2024

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.lua provided below

Neovim version (nvim -v)

NVIM v0.10.2

Operating system/version

macOS 15.1

Terminal/GUI

wezterm/neovide

Describe the bug

Mapping for telescope in chezmoi pack doesn't work, I assume mapping for fzf-lua doesn't work either.
I would try to fix it but it's some complicated lazy magic there

Steps to Reproduce

  1. add astrocommunity.pack.chezmoi to community.lua
  2. sync plugins
  3. press <Leader>f.

Expected behavior

Telescope picker should open

Screenshots

No response

Additional Context

No response

Minimal configuration

-- 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.)
@RayJameson RayJameson added the bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant