mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.0754: fixed order of items in insert-mode completion menu
Problem: fixed order of items in insert-mode completion menu Solution: Introduce the 'completeitemalign' option with default value "abbr,kind,menu" (glepnir). Adding an new option `completeitemalign` abbr is `cia` to custom the complete-item order in popupmenu. closes: #14006 closes: #15760 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e021f39b79
commit
6a89c94a9e
@ -80,6 +80,7 @@ let test_values = {
|
||||
\ 'complete': [['', 'w,b'], ['xxx']],
|
||||
\ 'concealcursor': [['', 'n', 'nvic'], ['xxx']],
|
||||
\ 'completeopt': [['', 'menu', 'menu,longest'], ['xxx', 'menu,,,longest,']],
|
||||
\ 'completeitemalign': [['abbr,kind,menu'], ['xxx','abbr,menu','abbr,menu,kind,abbr', 'abbr', 'abbr1234,kind', '']],
|
||||
\ 'completepopup': [['', 'height:13', 'highlight:That', 'width:10,height:234,highlight:Mine'], ['height:yes', 'width:no', 'xxx', 'xxx:99', 'border:maybe', 'border:1']],
|
||||
\ 'completeslash': [['', 'slash', 'backslash'], ['xxx']],
|
||||
\ 'cryptmethod': [['', 'zip'], ['xxx']],
|
||||
|
Reference in New Issue
Block a user