enable completion for objective-c(++) files

This commit is contained in:
Kerem Cakirer
2017-09-16 22:01:57 +03:00
parent 252662f0b6
commit dcb2cbbe09

View File

@@ -2,7 +2,7 @@ function! asyncomplete#sources#clang#get_source_options(...) abort
return extend(extend({
\ 'name': 'clang',
\ 'completor': function('asyncomplete#sources#clang#completor'),
\ 'whitelist': ['c', 'cpp']
\ 'whitelist': ['c', 'cpp', 'objc', 'objcpp']
\ }, a:0 >= 1 ? a:1 : {}), {'refresh_pattern': '\k\+$'})
endfunction