(setq org-stuck-projects '("+LEVEL=2/-INACTIVE-DONE" ("NEXT" "WAIT") nil ""))
It mostly works, but it does not identify as stuck a project that has a "Next items" subheading and no NEXT keyword.
In case this is relevant, I have org-occur-case-fold-search set to 'smart, and this setting works as expected for org-occur, but not for org-stuck-projects.
Thanks!!
Guy