mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
Improve YCM contrib: Fix db path
This commit is contained in:
parent
d1aa549735
commit
9c2a156faa
@ -9,7 +9,7 @@ def DirectoryOfThisScript():
|
|||||||
|
|
||||||
def GetDatabase():
|
def GetDatabase():
|
||||||
compilation_database_folder = os.path.join(DirectoryOfThisScript(),
|
compilation_database_folder = os.path.join(DirectoryOfThisScript(),
|
||||||
'..', '..', 'build')
|
'..', 'build')
|
||||||
if os.path.exists(compilation_database_folder):
|
if os.path.exists(compilation_database_folder):
|
||||||
return ycm_core.CompilationDatabase(compilation_database_folder)
|
return ycm_core.CompilationDatabase(compilation_database_folder)
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user