summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2023-12-23 09:57:29 +0100
committerJohannes Altmanninger <aclopte@gmail.com>2024-01-13 17:24:03 +0100
commitc9a544413ca6d462723621c3c5d090f2dc715c38 (patch)
treed53315895e4de5a2fc992481a0e3e41665778160 /rc/tools/python
parentea930664ad13052c1a89af75ccdefd5368df906a (diff)
rc tools ctags/man: rationalize sorting of completion candidates
As of recently, shell script candidate completions are computed in the background, and displayed incrementally. Sorting completions means we can't show partial results. We do this for "ctags-search"; but if there is only one ctags file there is already a sensible order (which is slightly different than what GNU sort does). So let's preserve the order in that case. The number of completions is probably too high for an order to be useful. Similarly, for "man", sorting is probably not very helpful because there are so many results. See https://github.com/mawww/kakoune/pull/5035#discussion_r1413015934
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions