Commit c0b7ca4
patch 9.1.1107: cannot loop through completion menu with fuzzy
Problem: cannot loop through completion menu with fuzzy and nosort in
'completeopt'
(Tomasz N)
Solution: Reset cur to zero and update compl_shown_match when
'completeopt' contains "nosort" but not "noselect"
(glepnir)
fixes: #16624
closes: #16629
Signed-off-by: glepnir <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>1 parent 4f010c9 commit c0b7ca4
3 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | | - | |
1371 | | - | |
1372 | 1370 | | |
1373 | 1371 | | |
1374 | 1372 | | |
| |||
1402 | 1400 | | |
1403 | 1401 | | |
1404 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1405 | 1410 | | |
1406 | 1411 | | |
1407 | 1412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2689 | 2689 | | |
2690 | 2690 | | |
2691 | 2691 | | |
| 2692 | + | |
| 2693 | + | |
2692 | 2694 | | |
2693 | 2695 | | |
2694 | 2696 | | |
| |||
2875 | 2877 | | |
2876 | 2878 | | |
2877 | 2879 | | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
2878 | 2894 | | |
2879 | 2895 | | |
2880 | 2896 | | |
| |||
2885 | 2901 | | |
2886 | 2902 | | |
2887 | 2903 | | |
| 2904 | + | |
2888 | 2905 | | |
2889 | 2906 | | |
| 2907 | + | |
| 2908 | + | |
2890 | 2909 | | |
2891 | 2910 | | |
2892 | 2911 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
707 | 709 | | |
708 | 710 | | |
709 | 711 | | |
| |||
0 commit comments