Auto merge of #1659 - puremourning:cwd-filetype-completer, r=Valloric
Pass cwd to completer for filename completions Required for https://github.com/Valloric/ycmd/pull/210. Please see that PR for functional and testing details.
This commit is contained in:
commit
f94b342989
@ -188,6 +188,8 @@ class YouCompleteMe( object ):
|
|||||||
self._omnicomp, wrapped_request_data )
|
self._omnicomp, wrapped_request_data )
|
||||||
return self._latest_completion_request
|
return self._latest_completion_request
|
||||||
|
|
||||||
|
request_data[ 'working_dir' ] = os.getcwd()
|
||||||
|
|
||||||
self._AddExtraConfDataIfNeeded( request_data )
|
self._AddExtraConfDataIfNeeded( request_data )
|
||||||
if force_semantic:
|
if force_semantic:
|
||||||
request_data[ 'force_semantic' ] = True
|
request_data[ 'force_semantic' ] = True
|
||||||
|
Loading…
Reference in New Issue
Block a user