maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

LSP Find references support #283

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi Maralla,

Love your plugin and that fact that you've added basic LSP support to it. Would it be possible to add 'Find references' support as well similar to what is supported by other LSP plugins (https://github.com/prabirshrestha/vim-lsp, https://github.com/autozimu/LanguageClient-neovim). Find references and find definition are the main actions I think most people use in LSP and right now it seems only one of them is supported. Could you support find references as well please.

Thanks.

maralla commented 4 years ago

The support for finding references is implemented in d21811453f962f12facbe87b285bde11fa040e43.

Call the function :call completor#do("references") to show the references. You can map a key for convenience.