Skip to content

Commit

Permalink
Exclude declaration from FindUsages
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspoons committed Jul 1, 2020
1 parent 43f2d89 commit 69cb351
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autoload/OmniSharp/actions/usages.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ endfunction

function! s:StdioFind(Callback) abort
let opts = {
\ 'ResponseHandler': function('s:StdioFindRH', [a:Callback])
\ 'ResponseHandler': function('s:StdioFindRH', [a:Callback]),
\ 'Parameters': {
\ 'ExcludeDefinition': 1
\ }
\}
call OmniSharp#stdio#Request('/findusages', opts)
endfunction
Expand Down

0 comments on commit 69cb351

Please sign in to comment.