Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shougo/ddc-source-around
Around completion for ddc.vim
https://github.com/Shougo/ddc-source-around
ddc-source ddc-vim
Last synced: 4 days ago
JSON representation
Around completion for ddc.vim
- Host: GitHub
- URL: https://github.com/Shougo/ddc-source-around
- Owner: Shougo
- License: mit
- Created: 2021-08-01T06:25:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T04:46:07.000Z (2 months ago)
- Last Synced: 2024-10-27T11:23:57.966Z (7 days ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 27.3 KB
- Stars: 45
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-around
Around completion for ddc.vim
This source collects items around the cursor, namely inside current buffer.
## Required
### denops.vim
https://github.com/vim-denops/denops.vim
### ddc.vim
https://github.com/Shougo/ddc.vim
## Configuration
```vim
call ddc#custom#patch_global('sources', ['around'])call ddc#custom#patch_global('sourceOptions', #{
\ around: #{ mark: 'A' },
\ })
call ddc#custom#patch_global('sourceParams', #{
\ around: #{ maxSize: 500 },
\ })
```