mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -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():
|
||||
compilation_database_folder = os.path.join(DirectoryOfThisScript(),
|
||||
'..', '..', 'build')
|
||||
'..', 'build')
|
||||
if os.path.exists(compilation_database_folder):
|
||||
return ycm_core.CompilationDatabase(compilation_database_folder)
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user