Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shougo/ddc-source-omni
Omnifunc completion for ddc.vim
https://github.com/Shougo/ddc-source-omni
ddc-source ddc-vim
Last synced: 4 days ago
JSON representation
Omnifunc completion for ddc.vim
- Host: GitHub
- URL: https://github.com/Shougo/ddc-source-omni
- Owner: Shougo
- License: mit
- Created: 2021-09-13T11:04:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T04:56:50.000Z (2 months ago)
- Last Synced: 2024-10-28T10:28:27.492Z (6 days ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 12.7 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-omni
Omnifunc completion for ddc.vim
This source collects items from 'omnifunc'.
Note: It does not support all of 'omnifunc'.
## 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', ['omni'])call ddc#custom#patch_global('sourceOptions', #{
\ omni: #{ mark: 'O' },
\ })" Example: Use vimtex
"call vimtex#init()
"call ddc#custom#patch_filetype(['tex'], 'sourceOptions', #{
" \ omni: #{
" \ forceCompletionPattern: g:vimtex#re#deoplete,
" \ },
" \ })
"call ddc#custom#patch_filetype(['tex'], 'sourceParams', #{
" \ omni: #{ omnifunc: 'vimtex#complete#omnifunc' },
" \ })
```