forked from aniani/vim
patch 9.1.0568: Cannot expand paths from 'cdpath' setting
Problem: Cannot expand paths from 'cdpath' setting
(Daniel Hahler)
Solution: Implement 'cdpath' completion, add the new 'dir_in_path'
completion type (LemonBoy)
fixes #374
closes: #15205
Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
764526e279
commit
a20bf69a3b
@@ -658,7 +658,8 @@ func Test_getcompletion()
|
||||
unlet g:cmdline_compl_params
|
||||
|
||||
" For others test if the name is recognized.
|
||||
let names = ['buffer', 'environment', 'file_in_path', 'mapping', 'tag', 'tag_listfiles', 'user']
|
||||
let names = ['buffer', 'environment', 'file_in_path', 'dir_in_path', 'mapping', 'tag',
|
||||
\ 'tag_listfiles', 'user']
|
||||
if has('cmdline_hist')
|
||||
call add(names, 'history')
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user