project: Set completion to undocumented if text empty (#11207)

I think the previous code was missing a `return` in there because it
always overwrote the `completion.documentation` field, even if the
`text.is_empty()` is true.

Release Notes:

- N/A
73d0600ad2Thorsten Ball committed on 4/30/2024, 12:56:22 PM· committed by GitHubparentf96cab2
1 file changedLine totals unavailable