Aleksey Kladov f34762abb7 internal: better factoring for to_proto::completion
One source completion can produce up to two lsp completions.
Additionally, `preselct` and `sort_text` are global properties of the
whole set of completions, so the right granularity here is to convert
many completions.

As a side-benefit, we no loger allocate intermediate vec.
2021-07-04 14:08:33 +03:00
..
2021-07-01 14:10:57 +03:00
2021-06-21 17:47:00 +01:00
2021-07-01 18:25:06 +00:00
2021-07-02 12:49:34 +00:00
2021-07-03 22:11:03 +03:00
2021-06-22 13:18:48 -04:00
2021-07-02 15:42:42 +02:00
2021-06-22 22:01:06 +02:00
2021-07-04 11:20:31 +03:00