aboutsummaryrefslogtreecommitdiff
path: root/contrib/YouCompleteMe/ycm_extra_conf.py
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-21 11:04:52 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-21 11:04:52 -0300
commit6e268cd0d40a3652a68b486bdbb421d39295ab48 (patch)
tree9eb59975930cb2f22872509b33f75ec7eef4dd0c /contrib/YouCompleteMe/ycm_extra_conf.py
parent7e1b285c575aefc6120c1444f8d781f956d3cac8 (diff)
parentfe7db21c73bd0c88b6686e4fa39e53027a03a78e (diff)
downloadrneovim-6e268cd0d40a3652a68b486bdbb421d39295ab48.tar.gz
rneovim-6e268cd0d40a3652a68b486bdbb421d39295ab48.tar.bz2
rneovim-6e268cd0d40a3652a68b486bdbb421d39295ab48.zip
Merge pull request #1319 '[RFC] A few fixes for YCM contrib docs and code'
Diffstat (limited to 'contrib/YouCompleteMe/ycm_extra_conf.py')
-rw-r--r--contrib/YouCompleteMe/ycm_extra_conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/YouCompleteMe/ycm_extra_conf.py b/contrib/YouCompleteMe/ycm_extra_conf.py
index ae5d3d1a36..0066f96dc0 100644
--- a/contrib/YouCompleteMe/ycm_extra_conf.py
+++ b/contrib/YouCompleteMe/ycm_extra_conf.py
@@ -8,7 +8,8 @@ def DirectoryOfThisScript():
def GetDatabase():
- compilation_database_folder = DirectoryOfThisScript() + '/../build'
+ compilation_database_folder = os.path.join(DirectoryOfThisScript(),
+ '..', 'build')
if os.path.exists(compilation_database_folder):
return ycm_core.CompilationDatabase(compilation_database_folder)
return None