Describe the bug
When restore a session with empty file opened, will display Dashboard, and display a error
Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:104: no parser for 'dashboard' language, see :help treesitter-parsers
To Reproduce
Steps to reproduce the behavior:
touch empty filetouch test.norg
open nvim vim
open empty file :e test.norg, but don't input anything
save session :mksession test.session
quit nvim :q
restore sesion vim -S test.session
Expected behavior
don't show dashboard and show opened empty file correctly
Describe the bug When restore a session with empty file opened, will display Dashboard, and display a error
To Reproduce Steps to reproduce the behavior:
touch test.norg
vim
:e test.norg
, but don't input anything:mksession test.session
:q
vim -S test.session
Expected behavior don't show dashboard and show opened empty file correctly
Related code
plugin/dashboard.lua