-
Notifications
You must be signed in to change notification settings - Fork 48
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
init.lua:35: couldn't parse regex #87
Comments
I am also facing this issue.
|
I faced same issue.
As @jiz4oh said, set regexpengine=1 " Error occurs. And if I remove or comment out this line, the error goes away. " set regexpengine=1 " Error goes away. Is this the only solution ? Thank you. |
kansetsu7
pushed a commit
to kansetsu7/dotfiles
that referenced
this issue
Dec 22, 2024
- most of options copy from my original settings - disable regexpengine Enable it will got following error: ``` Failed to source `/Users/andre/.local/share/nvim/lazy/cmp-cmdline/after/plugin/cmp_cmdline.lua` vim/_editor.lua:0: /Users/andre/.dotfiles/nvim/.config/nvim/init.lua..nvim_exec2() called at /Users/andre/.dotfiles/nvim/.config/nvim/init.lua:0.. /Users/andre/.local/share/nvim/lazy/cmp-cmdline/after/plugin/cmp_cmdline.lua: Vim(source):E5113: Error while calling lua chunk: ...cal/share/nvim/ lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:42: couldn't parse regex: Vim:E369: invalid item in \%[] .... stacktrace: - vim/_editor.lua:0 _in_ **cmd** - ~/.config/nvim/lua/config/lazy.lua:15 - nvim/.config/nvim/init.lua:6 ``` Found solution at hrsh7th/cmp-cmdline#87, just disable 'regexpengine' - move SpellBad config to theme to prevent theme override it. The color is picked from https://github.com/rebelot/kanagawa.nvim/blob/master/lua/kanagawa/colors.lua#L3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error detected while processing /home/tejpapa/.local/share/nvim/site/pack/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua: E5113: Error while calling lua chunk: ...e/pack/packer/start/cmp-cmdline/lua/cmp_cmdline/init.lua:35: couldn't parse regex: Vim:E369: invalid item in %[] stack traceback: [C]: in function 'create_regex' ...e/pack/packer/start/cmp-cmdline/lua/cmp_cmdline/init.lua:35: in main chunk [C]: in function 'require' ...ck/packer/start/cmp-cmdline/after/plugin/cmp_cmdline.lua:1: in main chunk
The text was updated successfully, but these errors were encountered: