You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up a key mapping to run require("nvchad.term").runner, but I'm encountering an issue when trying to run it a second time after closing the terminal. It works fine on the first execution, but on the second attempt, it throws an error:
E5108: Error executing lua: ...okuma/.local/share/nvim/lazy/ui/lua/nvchad/term/init.lua:147: attempt to get length of field 'buf_history' (a nil value)
stack traceback:
...okuma/.local/share/nvim/lazy/ui/lua/nvchad/term/init.lua:147: in function 'runner'
/Users/tokuma/.config/nvim/lua/mappings.lua:31: in function </Users/tokuma/.config/nvim/lua/mappings.lua:30>
Press ENTER or type command to continue
Is there a way to avoid this error or properly reset buf_history after closing the terminal? Any guidance would be appreciated!
The text was updated successfully, but these errors were encountered:
I'm trying to set up a key mapping to run require("nvchad.term").runner, but I'm encountering an issue when trying to run it a second time after closing the terminal. It works fine on the first execution, but on the second attempt, it throws an error:
Is there a way to avoid this error or properly reset buf_history after closing the terminal? Any guidance would be appreciated!
The text was updated successfully, but these errors were encountered: