Skip to content

Commit 0e94e0b

Browse files
committed
Add vsnip#completefunc to document
1 parent fc9c045 commit 0e94e0b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ VSCode(LSP)'s snippet feature in vim/nvim.
2323
- [vimcomplete](https://github.com/girishji/vimcomplete)
2424
- [ddc.vim](https://github.com/Shougo/ddc.vim)
2525
- [vim-easycompletion](https://github.com/jayli/vim-easycomplete)
26+
- Support built-in completion
27+
- A function can be registered for finding completions.
28+
`set complete+=Fvsnip#completefunc`
2629
- Vim script interpolation
2730
- You can use Vim script interpolation as `${VIM:...Vim script expression...}`.
2831
- SnipMate-like syntax support

doc/vsnip.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,12 @@ FUNCTION *vsnip-function*
117117

118118
Register your own custom variable resolver.
119119

120+
vsnip#completefunc()
120121

122+
Register for finding completions.
123+
>
124+
set complete+=Fvsnip#completefunc
125+
<
121126

122127
==============================================================================
123128
MAPPING *vsnip-mapping*

0 commit comments

Comments
 (0)