-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoc-settings.json
More file actions
113 lines (113 loc) · 3.3 KB
/
coc-settings.json
File metadata and controls
113 lines (113 loc) · 3.3 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"coc.preferences.colorSupport": true,
"coc.preferences.snippetStatusText": "Ⓢ ",
"coc.preferences.enableFloatHighlight": true,
"coc.preferences.extensionUpdateCheck": "daily",
"coc.preferences.currentFunctionSymbolAutoUpdate": true,
"coc.preferences.formatOnSaveFiletypes": ["html", "json", "css"],
"list.insertMappings": {
"<C-p>": "normal:k",
"<C-n>": "normal:j",
"<C-k>": "normal:k",
"<C-j>": "normal:j"
},
"suggest.snippetIndicator": "",
// Preview of a function
"suggest.maxPreviewWidth": 50,
// Detail on the right side of popup window
"suggest.detailMaxLength": 50,
// popup window's width
"suggest.labelMaxLength": 50,
"suggest.triggerAfterInsertEnter": true,
"suggest.noselect": true,
"suggest.autoTrigger": "always",
"suggest.enablePreview": true,
"suggest.detailField": "preview",
"suggest.echodocSupport": true,
"suggest.completionItemKindLabels": {
"class": "\uf0e8",
"color": "\ue22b",
"constant": "\uf8ff",
"default": "\uf29c",
"enum": "\uf435",
"enumMember": "\uf02b",
"event": "\ufacd",
"field": "\uf93d",
"file": "\uf723",
"folder": "\uf115",
"function": "\u0192",
"interface": "\uf417",
"keyword": "\uf80a",
"method": "\uf6a6",
"module": "\uf40d",
"operator": "\uf915",
"property": "\ue624",
"reference": "\uf87a",
"snippet": "\ue60b",
"struct": "\ufb44",
"text": "\uf783",
"typeParameter": "\uf728",
"unit": "\uf475",
"value": "\uf89f",
"variable": "\uf71b"
},
// extends vimwiki(filetype) to use markdown's snippets.
"snippets.extends": { "vimwiki": ["markdown"] },
"snippets.userSnippetsDirectory": "~/.config/UltiSnips/",
"snippets.ultisnips.directories": [
"UltiSnips",
"~/.config/UltiSnips/",
"$HOME/.config/nvim/Ultisnips/"
],
"typescript.suggestionActions.enabled": true,
"typescript.format.enabled": true,
"javascript.referencesCodeLens.enable": true,
"javascript.showUnused": true,
"javascript.suggest.names": true,
"javascript.suggestionActions.enabled": true,
"json.format.enable": true,
"eslint.autoFixOnSave": false,
"tslint.autoFixOnSave": true,
"prettier.printWidth": 100,
"prettier.eslintIntegration": true,
"prettier.disableLanguages": ["vue"],
"prettier.formatterPriority": 1,
"prettier.useTabs": true,
"prettier.trailingComma": "all",
"prettier.singleQuote": false,
"diagnostic.errorSign": "✘ ",
"diagnostic.warningSign": "⚠ ",
"diagnostic.infoSign": "i",
"diagnostic.hintSign": "➤ ",
"diagnostic.virtualText": true,
"diagnostic.enableMessage": "jump",
"diagnostic.virtualTextPrefix": ">>",
"yank.enableCompletion": false,
"python.jediEnabled": false,
"python.formatting.provider": "autopep8",
"translator.engines": ["bing", "youdao", "google"],
"languageserver": {
// OR delete these configuration then install coc-clangd
// "clangd": {
// "command": "clangd",
// "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
// "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
// },
"ccls": {
"command": "ccls",
"filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp", "cuda"],
"rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"]
//"ignoredRootPaths": ["~"]
}
}
}