We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee68e7 commit a6ef221Copy full SHA for a6ef221
autoload/OmniSharp/actions/codeactions.vim
@@ -21,11 +21,12 @@ set cpoptions&vim
21
" \ 'CallbackCount': function('PlaceSign')
22
" \}
23
function! OmniSharp#actions#codeactions#Count(...) abort
24
- let opts = a:0 && a:1 isnot 0 ? { 'Callback': a:1 } : {}
25
if a:0 && type(a:1) == type(function('tr'))
26
let opts = { 'CallbackCleanup': a:1 }
27
elseif a:0 && type(a:1) == type({})
28
let opts = a:1
+ else
29
+ let opts = {}
30
endif
31
if g:OmniSharp_server_stdio
32
let Callback = function('s:CBCountCodeActions', [opts])
0 commit comments