Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shougo/ddc-source-line
Line completion for ddc.vim
https://github.com/Shougo/ddc-source-line
ddc-source ddc-vim
Last synced: about 2 months ago
JSON representation
Line completion for ddc.vim
- Host: GitHub
- URL: https://github.com/Shougo/ddc-source-line
- Owner: Shougo
- License: mit
- Created: 2021-10-28T11:40:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T10:04:52.000Z (11 months ago)
- Last Synced: 2024-07-24T01:04:20.462Z (about 2 months ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-line
Line completion for ddc.vim
This source collects items from current buffer lines.
## 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', ['line'])call ddc#custom#patch_global('sourceOptions', #{
\ line: #{ mark: 'line' },
\ })
call ddc#custom#patch_global('sourceParams', #{
\ line: #{ maxSize: 1000 },
\ })
```