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

Completion deletes characters from file #76

Open
fmarchal opened this issue Jul 7, 2015 · 1 comment
Open

Completion deletes characters from file #76

fmarchal opened this issue Jul 7, 2015 · 1 comment

Comments

@fmarchal
Copy link

fmarchal commented Jul 7, 2015

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:

screenshot_2015-07-07_12-04-41
1- Press C-X+C-O
screenshot_2015-07-07_12-05-07
2- Press ESC
screenshot_2015-07-07_12-05-37
3- Press u (undo)
screenshot_2015-07-07_12-05-49
4- Press Alt+F4 to close
screenshot_2015-07-07_12-06-39
5- Click on "No"
6- Open file again
screenshot_2015-07-07_12-07-27

Characters 'wid' are gone.

Anyway, great plugin.

@jdonaldson
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants