function! asyncomplete#sources#OmniSharp#completor(opt, ctx) abort
  let column = a:ctx['col']
  let typed = a:ctx['typed']

  let kw = matchstr(typed, '\w\+$')
  let kwlen = len(kw)
  if kwlen < 1
    return
  endif
  let startcol = column - kwlen

  call OmniSharp#GetCompletions(kw, {results->
  \ asyncomplete#complete(a:opt['name'], a:ctx, startcol, results)})
endfunction

" vim:et:sw=2:sts=2

function! asyncomplete#sources#OmniSharp#completor(opt, ctx) abort
  let column = a:ctx['col']
  let typed = a:ctx['typed']

  let kw = matchstr(typed, '\(\w*\W\)*\zs\w\+$')
  let kwlen = len(kw)

  let startcol = column - kwlen

  call OmniSharp#GetCompletions(kw, {results->
  \ asyncomplete#complete(a:opt['name'], a:ctx, startcol, results)})
endfunction

" vim:et:sw=2:sts=2

Improve asyncomplete response after '.'
Improve asyncomplete response after '.'

OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim