-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc-settings.json
66 lines (54 loc) · 2.02 KB
/
coc-settings.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"suggest.timeout": 500,
"suggest.triggerAfterInsertEnter": true,
"suggest.minTriggerInputLength": 2,
"codeLens.enable": false,
"diagnostic.displayByAle": false,
"coc.source.syntax.enable": true,
"coc.source.word.enable": true,
"yank.limit": 5,
"yank.highlight.duration": 300,
"suggest.languageSourcePriority": 4,
"yank.priority": 6,
"snippets.priority": 8,
"coc.source.syntax.priority": 10,
"coc.source.word.priority": 15,
"coc.source.file.priority": 20,
// The Language local to use when spell checking. "en" and "en-GB" are currently supported.
"cSpell.language": "en",
// Controls the number of suggestions shown.
"cSpell.numSuggestions": 8,
// The minimum length of a word before checking it against a dictionary.
"cSpell.minWordLength": 4,
// Enable / Disable the spell checker.
"cSpell.enabled": true,
// Display the spell checker status on the status bar.
"cSpell.showStatus": true,
// Enable / Disable compound words like 'errormessage'
"cSpell.allowCompoundWords": false,
// Set the delay before spell checking the document. Default is 50.
"cSpell.spellCheckDelayMs": 50,
"inlayHint.enable": false,
"languageserver": {
"clangd": {
"command": "clangd",
"rootPatterns": ["compile_flags.txt", "compile_commands.json", ".repo/", ".git/", ".hg/"],
"filetypes": ["c", "cpp", "objc", "objcpp"],
"args": [
"--clang-tidy",
"--all-scopes-completion",
"--background-index",
"--background-index-priority=normal",
"--completion-style=detailed",
"--fallback-style=llvm",
"--function-arg-placeholders",
"--header-insertion=never",
"--pch-storage=memory",
"--malloc-trim",
"--limit-results=120",
"--limit-references=120",
"--hidden-features"
]
}
}
}