-
Notifications
You must be signed in to change notification settings - Fork 1
/
coc-settings.json
97 lines (97 loc) · 3.2 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
// "coc.preferences.jumpCommand": "sp",
// "prettier.eslintIntegration": true,
"suggest.triggerAfterInsertEnter": true,
"suggest.snippetIndicator": "►",
"list.normalMappings": {
"v": "action:vsplit"
},
"snippets.extends": {
"typescript": ["javascript"],
"typescript.tsx": ["javascript"],
"typescriptreact": ["javascript"],
"javascriptreact": ["javascript"]
},
"diagnostic-languageserver.filetypes": {
"sh": "shellcheck"
},
// "diagnostic-languageserver.linters": {
// "shellcheck": {
// "command": "shellcheck",
// "debounce": 100,
// "args": [
// "--format",
// "json",
// "-x",
// "-"
// ],
// "sourceName": "shellcheck",
// "parseJson": {
// "line": "line",
// "column": "column",
// "endLine": "endLine",
// "endColumn": "endColumn",
// "message": "${message} [${code}]",
// "security": "level"
// },
// "securities": {
// "error": "error",
// "warning": "warning",
// "info": "info",
// "style": "hint"
// }
// }
// },
// "diagnostic-languageserver.formatFiletypes": {
// "sh": "shfmt"
// },
// "diagnostic-languageserver.formatters": {
// "shfmt": {
// "command": "shfmt",
// "args": ["-i", "4", "-bn", "-ci"]
// }
// },
"languageserver": {
// "ccls": {
// "command": "/snap/ccls/current/bin/ccls",
// "filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
// "args": ["--log-file=/tmp/ccls.log", "-v=1"],
// "rootPatterns": [".ccls", "cdb", ".ccls_root"],
// "trace.server": "verbose",
// "initializationOptions": {
// "compilationDatabaseDirectory": "./cdb",
// // "clang": {
// // "extraArgs": ["-isystem", "/usr/local/Cellar/llvm/9.0.1/include/c++/v1"]
// // },
// // "cache": {
// // "directory": "/tmp/ccls-cache"
// // },
// "index": {"initialBlacklist": ["."], "threads": 4},
// "highlight": { "lsRanges": true }
// }
// }
// "flow": {
// "command": "flow"
// ,"args": ["lsp"]
// ,"filetypes": ["javascript", "javascriptreact"]
// ,"requireRootPattern": true
// ,"settings": {}
// ,"rootPatterns": [".flowconfig"]
// }
}
, "coc.source.file.ignoreHidden": false
//, "tsserver.log": "verbose"
, "coc.preferences.formatOnSaveFiletypes": [ "javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "javascript.jsx" ]
, "snippets.priority": 50
//, "snippets.ultisnips.usePythonx": false
// , "tabnine.priority": -50
// , "clangd.semanticHighlighting": true
//, "coc.preferences.semanticTokensHighlights": false
, "coc.preferences.extensionUpdateCheck": "daily"
, "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/15.0.6/clangd_15.0.6/bin/clangd"
// ,"clangd.trace.file": "/tmp/clangd.trace"
// ,"clangd.trace.server": "verbose"
//, "eslint.options": { "overrideConfigFile": "~/.eslintrc.json" }
//, "javascript.suggest.classMemberSnippets.enabled": false // damn i wish i could remember what the fuck this was for
, "snippets.excludePatterns": ["**/*jquery.snippets"]
}