From c2a3aed9895fdcfa1885bd7db382c13b56ce6c1e Mon Sep 17 00:00:00 2001 From: Jianjun Mao Date: Mon, 7 Sep 2015 21:35:40 +0800 Subject: [PATCH] clean code --- plugin/clang.vim | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugin/clang.vim b/plugin/clang.vim index 4acbf88..bc05501 100644 --- a/plugin/clang.vim +++ b/plugin/clang.vim @@ -860,13 +860,6 @@ func! s:ClangCompleteInit(force) endfor endif - " discover include directories *again* for neocomplete. - if !exists('g:neocomplete#sources#include#paths') - let g:neocomplete#sources#include#paths = {} - endif - " FIXME: should not overwrite? - let g:neocomplete#sources#include#paths[&filetype] = join(l:default_incs, ',') - " backup options without PCH support let b:clang_options_noPCH = b:clang_options " try to find PCH files in clang_root and clang_root/include