Skip to content

Commit 5dd4b08

Browse files
committed
Use ddt.vim instead
1 parent 7f83e34 commit 5dd4b08

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

doc/ddc.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,9 +1668,11 @@ And you need to use "ddc-ui-pum".
16681668

16691669
https://github.com/Shougo/ddc-ui-pum
16701670

1671-
NOTE: Use "deol.nvim" and "ddc-source-zsh" is recommend.
1672-
https://github.com/Shougo/deol.nvim
1673-
https://github.com/Shougo/ddc-source-zsh
1671+
NOTE: Use "ddt.vim" and "ddt-ui-terminal" and "ddc-source-shell-native" is
1672+
recommend.
1673+
https://github.com/Shougo/ddt.vim
1674+
https://github.com/Shougo/ddt-ui-terminal
1675+
https://github.com/Shougo/ddc-source-shell-native
16741676

16751677
>vim
16761678
call ddc#custom#patch_global('autoCompleteEvents', [
@@ -1680,18 +1682,15 @@ https://github.com/Shougo/ddc-source-zsh
16801682
call ddc#custom#patch_global('ui', 'pum')
16811683
call ddc#enable_terminal_completion()
16821684

1683-
" For deol buffer.
1684-
call ddc#custom#patch_filetype(['deol'], #{
1685+
call ddc#custom#patch_filetype(['ddt-terminal'], #{
16851686
\ specialBufferCompletion: v:true,
1686-
\ sources: ['zsh', 'shell-history', 'around'],
1687+
\ sources: ['shell-native', 'around'],
16871688
\ sourceOptions: #{
16881689
\ _: #{
16891690
\ keywordPattern: '[0-9a-zA-Z_./#:-]*',
16901691
\ },
16911692
\ },
16921693
\ })
1693-
" Should set g:deol#prompt_pattern.
1694-
let g:deol#prompt_pattern = has('win32') ? '\f\+>' : '\w*% \?'
16951694
<
16961695

16971696
*ddc-faq-27*

0 commit comments

Comments
 (0)