rtags completion for ddc.vim
This source collects items from rtags.
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
https://github.com/Andersbakken/rtags
Note: You need to lunch "rdm" command in the background.
call ddc#custom#patch_global('sources', ['rtags'])
call ddc#custom#patch_global('sourceOptions', #{
\ rtags: #{
\ mark: 'R',
\ dup: v:true,
\ forceCompletionPattern: '\.\w*|:\w*|->\w*' },
\ })