mirror of
https://github.com/neovim/neovim.git
synced 2026-03-30 20:32:08 +00:00
vim-patch:8.2.3431: completion for :disas sorts local functions first
Problem: Completion for :disas sorts local functions first.
Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
closes vim/vim#8860)
dfe04dbff5
Vim9 ":disassemble" is N/A
but "commented" test code is a hint for future patches.
Co-authored-by: naohiro ono <obcat@icloud.com>
This commit is contained in:
@@ -1307,6 +1307,11 @@ func Test_cmdline_complete_various()
|
||||
call feedkeys(":topleft new\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||
call assert_equal("\"topleft new", @:)
|
||||
|
||||
" call feedkeys(":disas \<S-Tab>\<C-B>\"\<CR>", 'xt')
|
||||
" call assert_match('"disas <SNR>\d\+_', @:)
|
||||
" call feedkeys(":disas debug \<S-Tab>\<C-B>\"\<CR>", 'xt')
|
||||
" call assert_match('"disas debug <SNR>\d\+_', @:)
|
||||
|
||||
" completion for the :match command
|
||||
call feedkeys(":match Search /pat/\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||
call assert_equal("\"match Search /pat/\<C-A>", @:)
|
||||
|
||||
Reference in New Issue
Block a user