Coder Social home page Coder Social logo

Comments (10)

liangmiQwQ avatar liangmiQwQ commented on July 3, 2024

I want to know how I can close the term, too.

from nvchad.

siduck avatar siduck commented on July 3, 2024

press leader x to close its window or bd! command to remove it completely

from nvchad.

siduck avatar siduck commented on July 3, 2024

and id is needed

from nvchad.

SheffeyG avatar SheffeyG commented on July 3, 2024

@siduck I tried leader-x to close the terminal:

  1. leader-cr to open runner terminal
  2. C-x to leave terminal mode
  3. leader-x to close the buffer
  4. leader-cr to run the code again
    and then the error again:
E5108: Error executing lua: .../home/.local/share/nvim/lazy/ui/lua/nvchad/term/init.lua:142: attempt to concat
enate local 'cmd' (a nil value)
stack traceback:
        .../home/.local/share/nvim/lazy/ui/lua/nvchad/term/init.lua:142: in function 'runner'
        ...data/com.termux/files/home/.config/nvim/lua/mappings.lua:37: in function <...data/com.termux/files/
home/.config/nvim/lua/mappings.lua:35>

it seems that the runner can't get the buffer id, tho I set the runner id. id = "runner"

from nvchad.

SheffeyG avatar SheffeyG commented on July 3, 2024

And if I press C-d to leave the terminal, then re-run the runner is fine

from nvchad.

siduck avatar siduck commented on July 3, 2024

works fine here @SheffeyG , i hope you latest version of UI plugin, did lazy sync?

simplescreenrecorder-2024-05-19_11.24.53.mp4

from nvchad.

SheffeyG avatar SheffeyG commented on July 3, 2024

@siduck Yes, and the error only happened after I updated to the latest ui plugin yesterday, so I revert the ui plugin to commit 4f50777 everything is okay now.

from nvchad.

siduck avatar siduck commented on July 3, 2024

4f50777

thats weird, as you can clearly see in the video i cant reproduce it! can you show a video?

from nvchad.

SheffeyG avatar SheffeyG commented on July 3, 2024

@siduck As I comment at here and the error msg:

E5108: Error executing lua: .../home/.local/share/nvim/lazy/ui/lua/nvchad/term/init.lua:142: attempt to concat
enate local 'cmd' (a nil value)

from nvchad.

siduck avatar siduck commented on July 3, 2024

@SheffeyG fixed

from nvchad.

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.