Giter Club home page Giter Club logo

Comments (5)

jmbuhr avatar jmbuhr commented on July 30, 2024

~swap files also sometimes stick around.

from otter.nvim.

jolars avatar jolars commented on July 30, 2024

Maybe this is the problem that I'm facing.

I am on I3 and have a problem where the swap files created from otter (or possibly quarto-nvim), e.g. file-name.qmd-tmp.R.swp stick around after quitting neovim using the usual close window command. If I quit the buffer using :q in neovim first, then close, then everything works fine. But if I just close neovim then the swap files remain and I get Found a swap file by the name ... and an error related to autocommands.

from otter.nvim.

jmbuhr avatar jmbuhr commented on July 30, 2024

The swap file part should now be fixed by 0b4e255 (by not creating swap files for otter buffers in the first place)

from otter.nvim.

FergusFettes avatar FergusFettes commented on July 30, 2024

Hey, absolutely love these repos, you guys are doing the lords work. I literally made a blog now I like using Quarto and Nvim so much. Thanks!

I'm seeing this issue-- on :wq cant close because myfile.qmd-tmp.py is open in another buffer.

(Simplest short term fix is :wq! or so obviously.)

I guess this is the same bug?

I wanted to find a simple way to reproduce it, but it just seems to happen after some time, can't tell exactly why.

from otter.nvim.

jmbuhr avatar jmbuhr commented on July 30, 2024

I also haven't found a consisten way of triggering it. I used to think it was because I have a habit of saving or quit+saving all with :wa or :xa, but I have also found it to happen when I have definitely not used those.

It might be that when the main buffer is edited and the otter buffer updated accordingly this counts as a change and so nvim won't close a changed buffer. There must be a way of telling nvim that the changes otter.nvim does are not changes it should worry about.

from otter.nvim.

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.