Code Monkey home page Code Monkey logo

Comments (9)

gelguy avatar gelguy commented on May 30, 2024 2

I can reproduce this.

This is a side-effect of #65. I missed out that the cmdline changing would affect history too.

This can be fixed by setting the apply_incsearch_fix option off:

call wilder#enable_cmdline_enter()

call wilder#set_option('renderer', wilder#wildmenu_renderer({'apply_incsearch_fix': 0}))

I'll add documentation on this and try to find a different way to fix incsearch.

from wilder.nvim.

gelguy avatar gelguy commented on May 30, 2024 2

It's merged but I haven't changed the default options to reflect the update. If you're on Neovim 0.5.1+, the bug is fixed and you can turn off the workaround by setting:

call wilder#set_option('renderer', wilder#popupmenu_renderer({
      \ 'apply_incsearch_fix': 0,
      \ ... other options ...
      \ }))

from wilder.nvim.

gelguy avatar gelguy commented on May 30, 2024 1

I've pushed a fix in the latest master: (fda3866). Let me know if this bug is fixed too.

Thanks for reporting!

Edit: I think the bug isn't fixed :(

from wilder.nvim.

gelguy avatar gelguy commented on May 30, 2024 1

Just to confirm: this isn't fixed. I don't think a workaround can be done on the VimScript side. neovim/neovim#15380 should fix this issue.

from wilder.nvim.

jdhao avatar jdhao commented on May 30, 2024

Same issue here tested on latest version of wilder.nvim.

For / and ? search, <UP> only works once. That is, if we press /, then press <UP>, recent search item is shown. However, if you press <UP> after that, the search item won't switch to older search items.

<UP> for command mode : works as expect though.

from wilder.nvim.

wookayin avatar wookayin commented on May 30, 2024

neovim/neovim#15380 has been merged but this bug still remains. Has anyone come up with a workaround?

from wilder.nvim.

jdhao avatar jdhao commented on May 30, 2024

It's merged but I haven't changed the default options to reflect the update. If you're on Neovim 0.5.1+, the bug is fixed and you can turn off the workaround by setting:

call wilder#set_option('renderer', wilder#popupmenu_renderer({
      \ 'apply_incsearch_fix': 0,
      \ ... other options ...
      \ }))

Tested on nvim v0.6.0-dev+205-g9695691ee, this issue has been fixed.

from wilder.nvim.

wookayin avatar wookayin commented on May 30, 2024

The bug described by OP in this thread (#69) seems fixed, probably on the nightly neovim, but I think I am having another strange behavior. Let me create a separate issue.

from wilder.nvim.

gelguy avatar gelguy commented on May 30, 2024

I've just updated the default apply_incsearch_fix option in 28b26ff.

If you're using Nvim 0.5.1+, the option does not need to be set anymore.

Thanks for your patience everyone! I will be marking this as closed.

from wilder.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.