forked from rafi/vim-config
-
Notifications
You must be signed in to change notification settings - Fork 3
/
coc-settings.json
37 lines (37 loc) · 1.14 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
{
"diagnostic.displayByAle": false, // ALE does not support hover popups in neovim yet
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"json",
"css",
"markdown",
"reason",
"rescript",
"terraform"
],
"signature.maxWindowHeight": 14,
"codeLens.enable": true,
// "suggest.autoTrigger": "none",
// "suggest.floatEnable": false,
"coc.preferences.hoverTarget": "float",
"diagnostic.enableMessage": "always",
"diagnostic.messageTarget": "float", // Disable redundant popups for linter if using macvim. displayByAle disables this too
"diagnostic.virtualText": false,
"languageserver": {
"terraform": {
"command": "terraform-ls",
"args": ["serve"],
"filetypes": ["terraform", "tf"],
"initializationOptions": {},
"settings": {}
},
"haskell": {
"command": "haskell-language-server-wrapper",
"args": ["--lsp"],
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
"filetypes": ["haskell", "lhaskell"]
}
}
// "signature.target": "echo", // Disable if using asyncomplete to show signatures.
}