-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc-settings.json
32 lines (32 loc) · 1.16 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
{
"languageserver": {
"haskell": {
"command": "haskell-language-server-wrapper",
"args": ["--lsp"],
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
"filetypes": ["haskell", "lhaskell"],
"initializationOptions": {
"languageServerHaskell" : {
"hlintOn": true,
"maxNumberOfProblems": 10,
"completionSnippetsOn": true
}
}, "settings" : {
"haskell": {
"checkParents": "CheckOnSave",
"checkProject":true,
"formattingProvider": "fourmolu",
"formatOnSave": true,
"tabSize": 4,
"detectIndetation": false,
"insertSpaces": true
}
}
},
"clangd": {
"command": "clangd",
"rootPatterns": ["compile_flags.txt", "compile_commands.json"],
"filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
}
}
}