Skip to content

Commit

Permalink
Do not call getCompilationDBParams() in the init function.
Browse files Browse the repository at this point in the history
It would defeat the whole purpose of that branch…
  • Loading branch information
xavierd committed Feb 2, 2013
1 parent 4fab34a commit df7e263
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin/libclang.py
Expand Up @@ -73,8 +73,6 @@ def initClangComplete(clang_complete_flags, clang_compilation_database, \
global builtinHeaderPath
builtinHeaderPath = None
args = getUserCompileParams(vim.current.buffer.name)
params = getCompilationDBParams(vim.current.buffer.name)
args += params['args']

if not canFindBuiltinHeaders(index, args):
builtinHeaderPath = getBuiltinHeaderPath(library_path, args)
Expand Down

0 comments on commit df7e263

Please sign in to comment.