Closed Soares closed 10 years ago
One other catch: We implicitly promote the first or last block in the "main file" to the intro or about section, respectively. If we don't designate a "main file", we can't do that anymore. I'd be in favor of getting rid of the implicit section behavior, even though it's going to be annoying. Otherwise, we'll have to somehow make sure different files don't accidentally define conflicting intro sections and conflict with each other.
Yeah, +1 for getting rid of the implicit section behavior. We can just add @intro and @about without much trouble. There might already be machinery for complaining when different files have @statusline/@author/etc. that we can re-use, otherwise we should add such machinery.
Vimdoc should be able to use global directives (
@author
, etc.) no matter where they should fine. (If there's a conflict, it should complain gracefully.)