Shougo / ddc-file

Powerful and performant file name completion for ddc.vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ddc-file

Doc

Powerful and performant file name completion for ddc.vim.

Required

Configuration

call ddc#custom#patch_global('sources', ['file'])
call ddc#custom#patch_global('sourceOptions', {
    \ 'file': {
    \   'mark': 'F',
    \   'isVolatile': v:true,
    \   'forceCompletionPattern': '\S/\S*',
    \ }})
call ddc#custom#patch_filetype(
    \ ['ps1', 'dosbatch', 'autohotkey', 'registry'], {
    \ 'sourceOptions': {
    \   'file': {
    \     'forceCompletionPattern': '\S\\\S*',
    \   },
    \ },
    \ 'sourceParams': {
    \   'file': {
    \     'mode': 'win32',
    \   },
    \ }})

About

Powerful and performant file name completion for ddc.vim.

License:MIT License


Languages

Language:TypeScript 64.1%Language:Vim Script 35.9%