Git Product home page Git Product logo

Comments (7)

Shougo avatar Shougo commented on August 21, 2024

It is Vim's feature. Sorry.
Because Vim changed undo history behavior in Vim 7.3.

from neocomplete.vim.

Markus00000 avatar Markus00000 commented on August 21, 2024

Thanks for taking a look. Can't this problem be worked around by making use of :undojoin in neocomplete?

from neocomplete.vim.

Shougo avatar Shougo commented on August 21, 2024

I cannot use :undojoin. Because this behavior is changed in feedkeys().
I think you can post this behavior in vim_dev.

neocomplete uses <C-r>= but it saves undo histories in recent Vim changes.
I think this behavior is not intended behavior in auto completion.

from neocomplete.vim.

lervag avatar lervag commented on August 21, 2024

So, @Shougo: You are saying that neocomplete destroys the undo history due to an update in Vim 7.3, and that you can not do anything about that? And that if we want to use neocomplete, then we must live with the clobbered undo history?

This is pretty bad, I would say. Does it work with Vim 7.4 (beta)?

from neocomplete.vim.

Shougo avatar Shougo commented on August 21, 2024

So, @Shougo: You are saying that neocomplete destroys the undo history due to an update in Vim 7.3, and that you can not do anything about that? And that if we want to use neocomplete, then we must live with the clobbered undo history?

Yes. neocomplete must use <C-r>= feature.

This is pretty bad, I would say. Does it work with Vim 7.4 (beta)?

You can post this behavior in vim_dev.
And you should test it in Vim 7.4.

from neocomplete.vim.

Shougo avatar Shougo commented on August 21, 2024

This behavior may be fixed in Vim 7.3.1293.

https://groups.google.com/d/topic/vim_dev/cOx0-nrNfLQ/discussion

from neocomplete.vim.

lervag avatar lervag commented on August 21, 2024

Ah, I see. I thought you meant in the earlier post that this was a change in vim, not a bug. I'll try the patch!

Thanks!

Update: undo works as expected in vim 7.4.39.

from neocomplete.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.