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

feat: align output of searchcount component with neovim default #1202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 27, 2024

  1. feat: align output of searchcount component with neovim default

    Neovim's default formatting for indicating the search result position, from `:h search-commands`:
    
      [1/5]         Cursor is on first of 5 matches.
      [1/>99]       Cursor is on first of more than 99 matches.
      [>99/>99]     Cursor is after 99 match of more than 99 matches.
      [?/??]        Unknown how many matches exists, generating the
                    statistics was aborted because of search timeout.
    
    Meaning of result.incomplete, from `:h searchcount()`:
    
      0: search was fully completed
      1: recomputing was timed out
      2: max count exceeded
    camoz committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    d282a10 View commit details
    Browse the repository at this point in the history