forked from pfultz2/ClangComplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClangComplete.sublime-settings
32 lines (32 loc) · 1.38 KB
/
ClangComplete.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
// Additional compiler options that are always added to the completion
// parser
"additional_options": ["-Wno-c++11-narrowing", "-D__STRICT_ANSI__", "-DQT_NO_DEBUG", "-isystem", "/usr/lib/llvm-3.4/lib/clang/3.4/include/"],
// The cmake build directory where ClangCompletion will look for the
// compiler flags
"build_dir": "build",
// If a valid build directory cannot be found then the default options
// will be used instead
"default_options": ["-std=c++11"],
// Additional paths that are searched when doing completion for include
// directives. Generally, it should always be the default include paths
// set by the compiler. To see the default search paths for the compiler
// type `echo | `gcc -print-prog-name=cc1plus` -v -E` into the command
// line.
"default_include_paths":
[
"/usr/include/c++/4.8",
"/usr/include/x86_64-linux-gnu/c++/4.8/.",
"/usr/include/c++/4.8/backward",
"/usr/lib/gcc/x86_64-linux-gnu/4.8/include",
"/usr/local/include",
"/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
],
// How long ClangComplete will wait for completions. This helps prevent
// clang from blocking the gui thread.
"timeout": 200,
// Suppress sublime's completion suggestions
"inhibit_sublime_completions": true
}