-
Notifications
You must be signed in to change notification settings - Fork 136
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
Pollutes vim's search history #94
Comments
|
@rosshadden Are you still experiencing this issue? Have you experimented with |
I looked at editorconfig.vim, and it looks like there is only one place where a search is used (in fact a substitution), and the It should work as expected for the search pattern? Unfortunately not for the substition string, which seems not to be restored by Also, if I understand the doc, |
No it doesn't do it anymore. I'm not sure whether I should close the issue though because it seems like it may be affecting @sroccaserra now? |
When this plugin is enabled, doing a simple
:w<cr>
adds two entries to neovim's search history:The result is that after saving a file, hitting
n
for example to view the next occurrence of a pattern will instead search for\s\+$
, which is not found. I suspect based on the pattern this is related to trimming trailing whitespace.I have had this plugin commented out for about a year and forgot why until I tried it again just now :D. Should be an easy fix though, and I regret not bringing it up back then.
The text was updated successfully, but these errors were encountered: