diff options
-rw-r--r-- | contrib/YouCompleteMe/ycm_extra_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/YouCompleteMe/ycm_extra_conf.py b/contrib/YouCompleteMe/ycm_extra_conf.py index 0066f96dc0..7c54677c8f 100644 --- a/contrib/YouCompleteMe/ycm_extra_conf.py +++ b/contrib/YouCompleteMe/ycm_extra_conf.py @@ -29,7 +29,7 @@ def GetCompilationInfoForFile(filename): c_file = basename + '.c' # for pure headers (no c file), default to main.c if not os.path.exists(c_file): - c_file = os.path.join(DirectoryOfThisScript(), 'main.c') + c_file = os.path.join(DirectoryOfThisScript(), 'nvim', 'main.c') if os.path.exists(c_file): compilation_info = database.GetCompilationInfoForFile(c_file) if compilation_info.compiler_flags_: |