mhinz / mhinz/vim-grepper

complete_files error

Open
#261 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.2k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

The following steps lead to an error:
- invoke Grepper command
- enter an alphanumeric character
- hit `Tab`
- hit `Escape`

```
:Grepper
a
```

Expected result: cleanly exit ex mode

Actual result: Error
```
Error detected while processing function 62_parse_flags[84]..62_start[12]..62_process_flags[46]..62_prompt[82]..function 62_parse_flags[84]..62_start[12]..62_process_flags[46]..62_prompt:
line 58:
E1303: Custom list completion function does not return a List but a number
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by invoking :Grepper, entering an alphanumeric character, pressing Tab, and then Escape. Trace the completion and prompt handling shown in the error, then verify that the sequence exits ex mode cleanly without E1303.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.