Skip to content

Conversation

@ichizok
Copy link
Contributor

@ichizok ichizok commented Dec 4, 2016

This patch fixes completion behavior of :filter command.

repro steps

vim -Nu NONE

OK

regexp with slash

  • :filter /pat/ pri and input <TAB>, completion is done: :filter /pat/ print

FAIL

string

  • :filter pat pri and input <TAB>, but no completion: :filter pat pri

regexp with other than slash

  • :filter #pat# pri and input <TAB>, but no completion: :filter #pat# pri

completion by <C-D> is too.

@vim-ml
Copy link

vim-ml commented Dec 4, 2016 via email

@ichizok
Copy link
Contributor Author

ichizok commented Dec 5, 2016

@h-east Thank you for your indication.
@brammool Could you approve my name?

@brammool
Copy link
Contributor

brammool commented Dec 5, 2016 via email

@ichizok
Copy link
Contributor Author

ichizok commented Dec 6, 2016

What do you mean?

The forwarded messages make it a bit difficult to see real names, it
only has the Github user name.

I'm sorry for my vague comment, but I meant that my real name is "Ozaki Kiichi".

@jamessan
Copy link
Contributor

jamessan commented Dec 6, 2016

I'm sorry for my vague comment, but I meant that my real name is "Ozaki Kiichi".

Then you should set that in your GitHub profile.

brammool added a commit that referenced this pull request Jan 7, 2017
Problem:    When the pattern of :filter does not have a separator then
            completion of the command fails.
Solution:   Skip over the pattern. (Ozaki Kiichi, clodes #1299)
@ichizok ichizok closed this Jan 10, 2017
@ichizok ichizok deleted the fix/filter-expand branch January 10, 2017 11:04
jamessan added a commit to jamessan/neovim that referenced this pull request Apr 30, 2017
Problem:    When the pattern of :filter does not have a separator then
            completion of the command fails.
Solution:   Skip over the pattern. (Ozaki Kiichi, clodes vim/vim#1299)

vim/vim@7069bf1
jamessan added a commit to jamessan/neovim that referenced this pull request Apr 30, 2017
Problem:    When the pattern of :filter does not have a separator then
            completion of the command fails.
Solution:   Skip over the pattern. (Ozaki Kiichi, clodes vim/vim#1299)

vim/vim@7069bf1
desvp pushed a commit to desvp/vim that referenced this pull request May 30, 2017
Problem:    When the pattern of :filter does not have a separator then
            completion of the command fails.
Solution:   Skip over the pattern. (Ozaki Kiichi, clodes vim#1299)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants