Caution
THIS PLUGIN IS NO LONGER NEEDED. The functionality is already merged into vimcomplete.
This plugin provides Vimscript language completion for Vimcomplete autocompletion plugin. It completes Vimscript function names, arguments, variables, reserved words and the like. If you are developing a Vim plugin or configuring your .vimrc file this is a must-have.
- Vim >= 9.0
- Vimcomplete
Install this plugin after installing Vimcomplete.
Install using vim-plug.
vim9script
plug#begin()
Plug 'girishji/vimscript-complete.vim'
plug#end()
For those who prefer legacy script.
call plug#begin()
Plug 'girishji/vimscript-complete.vim'
call plug#end()
Or use Vim's builtin package manager.
Default options are as follows.
vim9script
export var options: dict<any> = {
enable: true, # 'false' to disable this extension
priority: 9, # Higher priority items are shown at the top
maxCount: 10, # Maximum number of items shown
filetypes: ['vim'], # Activated for vim scripts
}
Options can be modified using g:VimCompleteOptionsSet()
. It takes a
dictionary as argument. If you are using
vim-plug then call this function through
VimEnter autocommand event.
autocmd VimEnter * g:VimCompleteOptionsSet(options)