Code Monkey home page Code Monkey logo

Comments (12)

rhysd avatar rhysd commented on May 22, 2024

Could you provide more information about your environment to reproduce problem? At least it does not reproduce in my local.

  • Vim version (i.e. 7.4.x or 8.0.x or Neovim 2.x or ...)
  • Your OS

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

I improved to close preview window. Could you try out the latest?

from vim-grammarous.

languitar avatar languitar commented on May 22, 2024

This is gone with the update. :) I am running neovim 0.2.2 on Linux. But from the commit I see why this happens. After closing the check window, the cursor jumps to a different buffer.

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

Yes. Thank you for confirming. Iā€™m closing this.

from vim-grammarous.

languitar avatar languitar commented on May 22, 2024

Is there any way to actually return to the correct buffer afterwards?

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

Currently there is no way to do that. 'quit' action only :quit the window with cleanup.

from vim-grammarous.

languitar avatar languitar commented on May 22, 2024

I think I once had a discussion on how to achieve this reliably in vimtex in this issue: lervag/vimtex#637 Maybe you could adapt the solution there?

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

Actually I can implement it easily. Not understanding it's practically useful or not (because I'm satisfied with current behavior).

from vim-grammarous.

languitar avatar languitar commented on May 22, 2024

For my workflow I always have several windows open and of the cursor jumps back to a different one after closing the checking window, I actually have to do something to get it back to the window I was actually working in. So I'd appreciate a solution for that ;-)

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

ok, I'll change the behavior of quit action.

from vim-grammarous.

rhysd avatar rhysd commented on May 22, 2024

Please update to the latest and try out.

from vim-grammarous.

languitar avatar languitar commented on May 22, 2024

Seems to work well. Thanks!

from vim-grammarous.

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.