Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (32 loc) · 964 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 964 Bytes

vimscript-complete

Vimscript language completion helper for Vimcomplete autocompletion plugin. It completes Vimscript function names, arguments, variables, reserved words and the like.

Requirements

  • Vim >= 9.0

Installation

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.

Configuration

Default options are as follows.

vim9script
export var options: dict<any> = {
    priority: 9,     # Higher priority items are shown at the top
    maxCount: 10,    # Maximum number of next-word items shown
}
autocmd VimEnter * g:VimCompleteOptionsSet(options)