Completion deletes characters from file
Opened this issue · 1 comments
Using Archlinux latest update with:
- Vim compiled with -python +python3.
- Modifying vaxe files to execute on python3:
- py -> py3
- python -> python3
- from html.parser import HTMLParser
- json.dumps(completes) -> json.dumps(list(completes))
- HTMLParser.HTMLParser() -> HTMLParser()
- Vaxe is the only plugin in ~/.vim/ besides pathogen.
After using C-X+C-O from the middle of a property, exiting menu, and closing vim without saving, the base part of the property gets deleted from file although not from buffer. Here are all the steps:
1- Press C-X+C-O
2- Press ESC
3- Press u (undo)
4- Press Alt+F4 to close
5- Click on "No"
6- Open file again
Characters 'wid' are gone.
Anyway, great plugin.
Thanks for the kind words, and caring enough about this to go off the beaten trail a bit!
Unfortunately, I'm not intending to support python 3, nor python at all in the near future. I've been frustrated with python as a scripting layer since version 3 came out and effectively split the community in two (diehard v2 package maintainers, and the v3 folks who are trying to move things forward). There's still a lot of nice vim modules that require python 2 or 3, and you can't use both python versions simultaneously.
My intention is to use lua, as the support there is very consistent for vim, and lua will be the default scripting language for neovim (which I also want to start using). I'm also working on a haxe lua target, which I should be able to use immediately.
Thanks in advance for your patience, I think it will be worth the wait.