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

[bug]: maximum nested function level reached #65

Open
p1r473 opened this issue May 2, 2024 · 2 comments
Open

[bug]: maximum nested function level reached #65

p1r473 opened this issue May 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@p1r473
Copy link

p1r473 commented May 2, 2024

Describe the bug

looks like its recursively calling itself/something?
_zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?
_zsh_highlight_widget_orig-s000-r513-user:zle-line-init:9: maximum nested function level reached; increase FUNCNEST?

Steps to reproduce

enable plugin via oh my zsh plugin list. seems to work fine when you regularly source it

Expected behavior

does not produce this error

Screenshots and recordings

image

Operating System & Version

bookworm

Zsh version

5.9

Terminal emulator

putty

If using WSL on Windows, which version of WSL

None

Additional context

No response

@p1r473 p1r473 added the bug Something isn't working label May 2, 2024
@p1r473
Copy link
Author

p1r473 commented May 2, 2024

Appears to be conflicting with https://github.com/marlonrichert/zsh-hist specifically this line: https://github.com/marlonrichert/zsh-hist/blob/main/zsh-hist.plugin.zsh#L27
add-zle-hook-widget line-finish .hist.format.hook
even if i zero out the entire .hist.format.hook file it still causes this error. only if i comment out the add-zle-hook-widget line-finish .hist.format.hook hook itself does it fix it

p1r473 added a commit to p1r473/cd-ls that referenced this issue May 2, 2024
This is so it doesnt immediately ls if you have a cd in your .zshrc file
add to end of .zshrc  `CD_LS_INIT_COMPLETE=true
zstyle ':hist:*' load-hooks false`
This is a work around for zdharma-continuum/fast-syntax-highlighting#65 as they were conflicting
Is there a better way to fix this?
@p1r473
Copy link
Author

p1r473 commented May 2, 2024

I added a workaround here: marlonrichert/zsh-hist#28
But not sure the best way to actually fix the incompatability
also, sorry for the incorrect reference to a non-related project above.... cant figure out how to delete it

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