Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delphinus/ddc-treesitter
A source for ddc.vim to gather candidates from nvim-treesitter
https://github.com/delphinus/ddc-treesitter
ddc-source ddc-vim nvim-treesitter
Last synced: 14 days ago
JSON representation
A source for ddc.vim to gather candidates from nvim-treesitter
- Host: GitHub
- URL: https://github.com/delphinus/ddc-treesitter
- Owner: delphinus
- Created: 2021-09-05T10:30:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T13:07:35.000Z (11 months ago)
- Last Synced: 2024-08-01T17:40:09.502Z (3 months ago)
- Topics: ddc-source, ddc-vim, nvim-treesitter
- Language: TypeScript
- Homepage:
- Size: 13.7 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ddc-treesitter
Treesitter completion for ddc.vim
This source collects candidates from [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter).
NOTE: This plugin needs Neovim >=v0.5.0
## Required
### denops.vim
https://github.com/vim-denops/denops.vim
### ddc.vim
https://github.com/Shougo/ddc.vim
### nvim-treesitter
https://github.com/nvim-treesitter/nvim-treesitter
## Configuration
```vim
" Use treesitter source.
call ddc#custom#patch_global('sources', ['treesitter'])" Change source options
call ddc#custom#patch_global('sourceOptions', {
\ 'treesitter': {'mark': 'T'},
\ })
```