Coder Social home page Coder Social logo

Comments (5)

rdnetto avatar rdnetto commented on July 29, 2024

No, interactive behaviour is expected when run from Vim. Looks like this is due to a difference in how Neovim spawns processes - run :! cat terminates immediately as well. As explained in neovim/neovim#1477, this is because child processes do not get access to tty (since that would break the msgpack-rpc UI).

It's possible to workaround this using :terminal and the new job control API (I actually implemented this as an experiment), but on reflection it makes more sense to simply change the command to not overwrite unless it's suffixed with ! (for consistency with :w!, etc.)

from ycm-generator.

rdnetto avatar rdnetto commented on July 29, 2024

I've pushed a fix for this to develop - can you verify it's working?

from ycm-generator.

Yanhao avatar Yanhao commented on July 29, 2024

I got the same issue in with vim(not neovim)

from ycm-generator.

rdnetto avatar rdnetto commented on July 29, 2024

@YanhaoMo Please open a separate bug for that - Vim and Neovim handle child processes differently.

from ycm-generator.

a1lu avatar a1lu commented on July 29, 2024

develop branch is not working for me

from ycm-generator.

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.