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 Jun 29, 2020
1 parent 36bab46 commit 8ae4be9
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 8ae4be9

Please sign in to comment.