Yes! This is exactly what I was thinking of, but didn't know existed. Thanks.
or TaskPaper, http://www.hogbaysoftware.com/products/taskpaper
There's a vim syntax for taskpaper's file format.
Direct link: https://github.com/davidoc/taskpaper.vim
Sounds like you're describing Workflowy: https://workflowy.com