Closed shun closed 3 years ago
I think it is better.
'vimlsp': {'mark': 'vimlsp', 'forceCompletionPattern': '\.|:|->|"\w*/'
@Shougo Thanks for your advice and it's much better !!
But I think it's better to distinguish the delimiter for each filetype. Therefore, plugin should change the delimiter dynamically in my opinion.
I'm keep investigating this issue what is the better solution.
Thank you.
You can change it by filetype.
call ddc#custom#patch_filetype(['go'], 'sourcesOptions'
\ { 'vimlsp': {'mark': 'vimlsp', 'forceCompletionPattern': '\.|:|->|"\w*/' })
@Shougo This is the solution which I want. Should be enough for me.
I close this. Thank you !
deoplete has not the feature. So ddc.vim is better than deoplete!
After set "forceCompletionPattern: '/'", get the invalid candidates for the file path. Should be distinguished the file path or not.