Permalink
Browse files

Do not call getCompilationDBParams() in the init function.

It would defeat the whole purpose of that branch…
  • Loading branch information...
1 parent 4fab34a commit df7e263134528a255bfde904309f9225aca86cb3 @Rip-Rip committed Feb 2, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 plugin/libclang.py
View
2 plugin/libclang.py
@@ -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)

0 comments on commit df7e263

Please sign in to comment.