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
Thanks so much for making this plugin. I use this daily and it's been massively helpful for my development workflow.
This is the only time I've ever had an issue using grapple.nvim and it's definitely an edge case, but I use "git_branch" as my scope, and I noticed an issue today when using a particularly long branch name: fix/EMR-21468/care-summary-model-selected-date-is-getting-reset-when-user-select-the-location-from-location-drop-down-for-transfer-and-add-location-encounters-on-multiple-locations
Steps To Reproduce
Install grapple.nvim using your plugin manager
Configure grapple with scope = "git_branch"
In a git-tracked repo, create a branch with a really long name
My example is 181 characters long (git rev-parse --abbrev-ref HEAD | wc -c)
Run :Grapple tag with a buffer for a file in that repository open
See you get an ENAMETOOLONG error
Expected Behavior
I would expect that grapple.nvim would allow me to continue using git_branch as scope even with really long git branch names. Maybe this is a limitation of some underlying way that scopes are managed with grapple.nvim, but getting this error was a little unexpected because I've been able to use git_branch scope without issues until today/with this branch.
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"cbochs/grapple.nvim"-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.2
Operating system/version
MacOS 15.0.1
Describe the bug
Thanks so much for making this plugin. I use this daily and it's been massively helpful for my development workflow.
This is the only time I've ever had an issue using
grapple.nvim
and it's definitely an edge case, but I use"git_branch"
as my scope, and I noticed an issue today when using a particularly long branch name:fix/EMR-21468/care-summary-model-selected-date-is-getting-reset-when-user-select-the-location-from-location-drop-down-for-transfer-and-add-location-encounters-on-multiple-locations
Steps To Reproduce
grapple.nvim
using your plugin managergrapple
withscope = "git_branch"
git
-tracked repo, create a branch with a really long namegit rev-parse --abbrev-ref HEAD | wc -c
):Grapple tag
with a buffer for a file in that repository openENAMETOOLONG
errorExpected Behavior
I would expect that
grapple.nvim
would allow me to continue usinggit_branch
as scope even with really long git branch names. Maybe this is a limitation of some underlying way that scopes are managed withgrapple.nvim
, but getting this error was a little unexpected because I've been able to usegit_branch
scope without issues until today/with this branch.Repro
The text was updated successfully, but these errors were encountered: