Treesitter completion for ddc.vim
This source collects candidates from nvim-treesitter.
NOTE: This plugin needs Neovim >=v0.5.0
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
https://github.com/nvim-treesitter/nvim-treesitter
" Use treesitter source.
call ddc#custom#patch_global('sources', ['treesitter'])
" Change source options
call ddc#custom#patch_global('sourceOptions', {
\ 'treesitter': {'mark': 'T'},
\ })