diff --git a/python/ycm/server/responses.py b/python/ycm/server/responses.py index 6be83ce5..37a2afd4 100644 --- a/python/ycm/server/responses.py +++ b/python/ycm/server/responses.py @@ -17,12 +17,12 @@ # You should have received a copy of the GNU General Public License # along with YouCompleteMe. If not, see . +import os -# TODO: Move this file under server/ and rename it responses.py def BuildGoToResponse( filepath, line_num, column_num, description = None ): response = { - 'filepath': filepath, + 'filepath': os.path.realpath( filepath ), 'line_num': line_num, 'column_num': column_num }