rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.03k stars 81 forks source link

fix: do not defer notify when nvim is running in a headless mode #227

Open wookayin opened 12 months ago

wookayin commented 12 months ago

The vim_starting workaround in #209 makes test failing, because notify(...) no longers return any value when vim.schedule-ed. In the headless mode (under which plenary unit tests are running), we do not need to defer the execution. This should fix all the tests that were failing.