OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

basic functionality for vim-clap with :OmniSharpFind with usages and symbols… #623

Closed SimulShift closed 4 years ago

SimulShift commented 4 years ago

simply set the g:variables respectively

let g:OmniSharp_selector_findusages = 'vim-clap'

and for findsymbols use:
let g:OmniSharp_selector_ui = 'vim-clap'
SimulShift commented 4 years ago

improved the functionality to conform to already in-place infrastructure. Plus I added documentation :D

TODO: Get code-action support for vim-clap (only :OmniSharpFindSymbols and :OmniSharpFindUsages are working with vim-clap atm)

SimulShift commented 4 years ago

:OmniSharpGetCodeActions now has support for vim-clap

nickspoons commented 4 years ago

Hey @AlexHappyCode, since I had made the fzf fix I had mentioned, I thought I might as well apply it here too, so I have merged and then made a couple of changes, including re-naming the selector to 'clap' from 'vim-clap', which is necessary if the selector is automatically detected (since it looks for the file name "plugin/clap.vim").

Thanks a lot for the PR, works great!