diff src/testdir/test_cmdline.vim @ 13551:1fd0f8392946 v8.0.1649

patch 8.0.1649: no completion for argument list commands commit https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 29 15:55:38 2018 +0200 patch 8.0.1649: no completion for argument list commands Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/2706)
author Christian Brabandt <cb@256bit.org>
date Thu, 29 Mar 2018 16:00:07 +0200
parents 9b882316aa63
children 75e35ebdb7a4
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -137,6 +137,11 @@ func Test_getcompletion()
   let l = getcompletion('v:notexists', 'var')
   call assert_equal([], l)
 
+  args a.c b.c
+  let l = getcompletion('', 'arglist')
+  call assert_equal(['a.c', 'b.c'], l)
+  %argdelete
+
   let l = getcompletion('', 'augroup')
   call assert_true(index(l, 'END') >= 0)
   let l = getcompletion('blahblah', 'augroup')