we had to introduce debounce because TSPlaygroundToggle outcome being inconsistent due to nvim-treesitter/playground closing/creating many buffers at start up, but if instead we debounce just by a few (2) milliseconds each step of the NoNeckPain lifecycle, we can prevent flickering and state inconsistencies
this also fixes NvimTree race conditions with NoNeckPain!!
📃 Summary
closes https://github.com/shortcuts/no-neck-pain.nvim/issues/258
we had to introduce debounce because
TSPlaygroundToggle
outcome being inconsistent due tonvim-treesitter/playground
closing/creating many buffers at start up, but if instead we debounce just by a few (2) milliseconds each step of theNoNeckPain
lifecycle, we can prevent flickering and state inconsistenciesthis also fixes NvimTree race conditions with NoNeckPain!!