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

Completion for %(:*) and #(:*) in cmdline #105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Commits on Aug 26, 2023

  1. Handle completion of % and # completion correctly.

    The current behavior if you try to complete :e %:p:h or something similar
    replaces only the h with the path, which isn't the desired behavior, because
    then nvim tries to open the wrong filename. Detect this case and produce edits
    that will replace the entire `%` chain with modifiers.
    iteratee authored and m42e committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    ee73376 View commit details
    Browse the repository at this point in the history
  2. Complete filenames which are indicated by %*

    This is based on the cmp_cmdline pr that iteratee
    It will offer completions for % and %:* as well as # and #:* in cmdline
    m42e committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    f8afeb0 View commit details
    Browse the repository at this point in the history