From fa32819d4f273f50f872ed2d525bc842e6798155 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Wed, 26 Aug 2015 23:41:40 +0100 Subject: [PATCH] Pass cwd to completer for filename completions --- python/ycm/youcompleteme.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/ycm/youcompleteme.py b/python/ycm/youcompleteme.py index 895296dd..102683bd 100644 --- a/python/ycm/youcompleteme.py +++ b/python/ycm/youcompleteme.py @@ -188,6 +188,8 @@ class YouCompleteMe( object ): self._omnicomp, wrapped_request_data ) return self._latest_completion_request + request_data[ 'working_dir' ] = os.getcwd() + self._AddExtraConfDataIfNeeded( request_data ) if force_semantic: request_data[ 'force_semantic' ] = True