Open
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.lua
provided below
Neovim version (nvim -v)
0.11.0
Operating system/version
Debian Linux
Terminal/GUI
kitty
Describe the bug
:
shows git commit in a completion popup
#
does not show github issues for this repository in a completion popup
@
does not show github users for this repository in a completion popup
Steps to Reproduce
- Install GitHub CLI https://cli.github.com/
- Authorise with your GitHub account
git auth login
- Clone Astronvim template
- Edit `lua/plugins/community.lua and import completion.blink-cmp-git and git.neogit
- Lazy update pa
- Restart neovim
- Open a file under git control and make a minor change
- Open neogit status buffer gnt
s
to stage the change,cc
to open the commit message#
to trigger issue completiono completion is shown including GitHub issues
Expected behavior
Typing a #
in the commit message buffer or in a markdown file should open a completion buffer with the issues from the project.
Screenshots
No response
Additional Context
May or may not be related to #1397
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" },
{ import = "astrocommunity.completion.blink-cmp-git" },
-- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here (autocommands, vim.filetype, etc.)