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

Vim: add .swo #149

Closed
yochem opened this issue Nov 25, 2024 · 1 comment
Closed

Vim: add .swo #149

yochem opened this issue Nov 25, 2024 · 1 comment

Comments

@yochem
Copy link
Contributor

yochem commented Nov 25, 2024

I just noticed that *.swo files are not recognized. From the (Neo)vim help file:

- If this file already exists (e.g., when you are recovering from a crash) a
  warning is given and another extension is used, ".swo", ".swn", etc.
- ...

							*E326*
Technical: If the ".swp" file name already exists, the last character is
	   decremented until there is no file with that name or ".saa" is
	   reached.  In the last case, no swap file is created.

If you want to fully cover all swap files, you would have to add all of .sw[a-o][a-z] extensions. Thats probably to much for such a niche use case, but I think adding .swo and .swn is nice.

Of course I can create a PR for it, but I thought I would ask first what you think would be best.

@sharkdp
Copy link
Owner

sharkdp commented Dec 27, 2024

Of course I can create a PR for it, but I thought I would ask first what you think would be best.

Sounds good, thank you!

yochem added a commit to yochem/vivid that referenced this issue Dec 27, 2024
sharkdp pushed a commit that referenced this issue Dec 27, 2024
@sharkdp sharkdp closed this as completed Dec 27, 2024
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

No branches or pull requests

2 participants