Coder Social home page Coder Social logo

souvenir.nvim's People

Contributors

ingram1107 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

souvenir.nvim's Issues

Restore session using telescope produce E445

When restoring a session using telescope.nvim, it produces the following error:

E5108: Error executing lua ...im/site/pack/packer/start/souvenir.nvim/lua/souvenir.lua:99: Vim(only):E445: Other window contains changes

stack traceback:
        [C]: in function 'cmd'
        ...im/site/pack/packer/start/souvenir.nvim/lua/souvenir.lua:99: in function 'restore_session'
        ...art/souvenir.nvim/lua/telescope/_extensions/souvenir.lua:47: in function 'open_souvenir_session'
        ...art/souvenir.nvim/lua/telescope/_extensions/souvenir.lua:80: in function 'run_replace_or_original'
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:242: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk

This issue is reproducible outside souvenir.nvim, which could be seen from the telescope issue thread.

For now, use the default command SouvenirRestore to restore your sessions for the time being.

Should add <bang> value to `:SouvenirSave`

In this way, it should be more intuitive to use instead of using two separated commands which is :SouvenirSave and :SouvenirSaveForce. However, I can't wrap my head around on how to implement this since the value can't pass into the argument list specified in lua function save_session. I suppose that there should be another way around but I can't figure it out now.

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.