To fix a crash in code completion that occurrs when reading doc
comments from files that were updated after the preamble was
computed. In that case, the files on disk could've been changed and we
can't rely on finding the comment text with the same range anymore.
The current workaround is to not provide comments from the headers at
all and rely on the dynamic index instead.
A more principled solution would be to store contents of the files
read inside the preamble, but it is way harder to implement properly,
given that it would definitely increase the sizes of the preamble.
Together with D47272, this should all preamble-related crashes we're
aware of.
this invites double negation.
Also it doesn't seem like a great default, violates principle of least surprise.
prefer bool CommentsFromHeaders = true, or with no default.
(or even consider an enum)