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
By quickly glancing and the stacktrace probably this is due to incomplete escaping of the regex here?
Notice that by correctly escaping the * character during search (say \*) the error does not occur, and nor does it against any other special regex wildcard (I tried a few and all seems to work well); as such, this is probably such a minimal case that it may not be even worth looking into it (however I thought I would flag it anyway).
Steps To Reproduce
search for *
the error occurs
Expected Behavior
If I am not mistaken searching for * brings you to the character even if not escaped in standard vim, so I would expect the same behaviour here too (or am I wrong)?
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= {
"folke/tokyonight.nvim",
{ "folke/flash.nvim", opts= {} },
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-597+gaa362a2af-Homebrew
Operating system/version
macOS 13.4.0 Ventura
Describe the bug
I found out by accident (by mistyping an actual search 😆) that searching the character
*
generates the following error:By quickly glancing and the stacktrace probably this is due to incomplete escaping of the regex here?
Notice that by correctly escaping the
*
character during search (say\*
) the error does not occur, and nor does it against any other special regex wildcard (I tried a few and all seems to work well); as such, this is probably such a minimal case that it may not be even worth looking into it (however I thought I would flag it anyway).Steps To Reproduce
*
Expected Behavior
If I am not mistaken searching for
*
brings you to the character even if not escaped in standard vim, so I would expect the same behaviour here too (or am I wrong)?Repro
The text was updated successfully, but these errors were encountered: