nvimdev / dashboard-nvim

vim dashboard
MIT License
2.39k stars 192 forks source link

bugfix: make sure current buffer is dashboard #449

Closed KaspervdHeijden closed 6 months ago

KaspervdHeijden commented 6 months ago

Opening netrw after opening dashboard on startup:

Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>
Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>
Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>
Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>
Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>
Error executing lua callback: ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: attempt to index local 'curline_str' (a nil value)
stack traceback:
    ...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:133: in function <...ckstart/lazy/dashboard-nvim/lua/dashboard/theme/doom.lua:119>