Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/girishji/vimscript-complete.vim
Autocompletion of Vimscript functions, variables, and other language features for Vimcomplete plugin.
https://github.com/girishji/vimscript-complete.vim
autocomplete autocompletion vim vim9script vimscript
Last synced: about 1 month ago
JSON representation
Autocompletion of Vimscript functions, variables, and other language features for Vimcomplete plugin.
- Host: GitHub
- URL: https://github.com/girishji/vimscript-complete.vim
- Owner: girishji
- License: mit
- Archived: true
- Created: 2023-07-25T09:49:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-10T19:26:41.000Z (12 months ago)
- Last Synced: 2024-08-07T18:45:32.232Z (5 months ago)
- Topics: autocomplete, autocompletion, vim, vim9script, vimscript
- Language: Vim Script
- Homepage: https://github.com/girishji/vimcomplete
- Size: 26.4 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!CAUTION]
> THIS PLUGIN IS NO LONGER NEEDED.
> The functionality is already merged into [vimcomplete](https://github.com/girishji/vimcomplete).------
#### Vimscript Language Autocompletion for Vim
This plugin provides Vimscript language completion for
[Vimcomplete](https://github.com/girishji/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.[![asciicast](https://asciinema.org/a/lggBAwfS2Zg7RpCccfTRem0pb.svg)](https://asciinema.org/a/lggBAwfS2Zg7RpCccfTRem0pb)
# Requirements
- Vim >= 9.0
- [Vimcomplete](https://github.com/girishji/vimcomplete)# Installation
Install this plugin after installing [Vimcomplete](https://github.com/girishji/vimcomplete).
Install using [vim-plug](https://github.com/junegunn/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 = {
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](https://github.com/junegunn/vim-plug) then call this function through
__VimEnter__ autocommand event.```
autocmd VimEnter * g:VimCompleteOptionsSet(options)
```