-
Notifications
You must be signed in to change notification settings - Fork 1
/
coc-settings.json
148 lines (134 loc) · 4.44 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
// suggestions
// "suggest.echodocSupport": true,
/* https://code.visualstudio.com/docs/editor/intellisense reference for vscode symbols*/
/* https://www.nerdfonts.com/cheat-sheet reference to find some other symbols*/
/* some symbols you might like: פּ */
/* fb44 this is the hex for nf-mdi-file_tree, should be good for class*/
"suggest.completionItemKindLabels": {
"method": " ",
"function": " ",
"variable": "[]",
"field": " ",
"typeParameter": "<>",
"constant": " ",
"class": " ",
"interface": " 蘒",
"struct": " ",
"event": " ",
"operator": " ",
"module": " ",
"property": " ",
"enum": " 練",
"reference": " ",
"keyword": " ",
"file": " ",
"folder": " ",
"color": " ",
"unit": " 塞 ",
"snippet": " ",
"text": " ",
"constructor": " ",
"value": " ",
"enumMember": " ",
"default": " "
},
"snippets.priority": 1,
//"yank.priority": 1,
"suggest.languageSourcePriority": 99,
"coc.source.file.priority": 2,
"coc.source.around.priority": 3,
"coc.source.buffer.priority": 4,
// diagnostics
"diagnostic.errorSign": " ",
"diagnostic.warningSign": " ",
"diagnostic.infoSign": "",
"diagnostic.hintSign": " ",
// "diagnostic.displayByAle": true,
// "diagnostic.virtualText": true, // this won't work with codelens when error on same line
// codelens
"codeLens.enable": true,
"java.referencesCodeLens.enabled": true,
"java.implementationsCodeLens.enabled": true,
"java.completion.enabled": true,
// list
"list.indicator": ">",
"list.selectedSignText": " ",
// autoformat
"coc.preferences.formatOnSaveFiletypes": [
"scss",
"css",
/* "markdown", */
"javascript",
"javascriptreact",
"jsx",
"graphql",
"html",
"yaml",
"json",
"python",
"rust"
],
// "coc.preferences.hoverTarget": "float",
// python config
"pyright.enable": true,
"python.analysis.autoImportCompletions": true,
"python.analysis.autoSearchPaths": true,
"python.analysis.diagnosticMode": "openFilesOnly",
"python.analysis.stubPath": "typings",
"python.analysis.typeshedPaths": [],
"python.analysis.diagnosticSeverityOverrides": {},
"python.analysis.typeCheckingMode": "basic",
"python.analysis.useLibraryCodeForTypes": true,
"python.pythonPath": "python3",
"python.venvPath": "",
"python.formatting.provider": "black",
"python.formatting.blackPath": "~/.local/bin/black",
"python.formatting.blackArgs": [],
"python.formatting.autopep8Path": "autopep8",
"python.formatting.autopep8Args": [],
"python.formatting.yapfPath": "yapf",
"python.formatting.yapfArgs": [],
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.banditEnabled": false,
"python.linting.mypyEnabled": false,
"python.linting.pytypeEnabled": false,
"python.linting.prospectorEnabled": false,
"python.linting.pydocstyleEnabled": true,
"python.linting.pylamaEnabled": false,
"python.linting.pylintEnabled": true,
// snippets
"snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
//"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
// emmet
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact"
},
// CSS (disable since I'm also using stylelintplus)
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"wxss.validate": false,
"scss.completion.completePropertyWithSemicolon": true,
"scss.colorDecorators.enable": true,
//coc-emoji
"coc.source.emoji.filetypes": ["markdown"],
// lua
//"lua.useSumnekoLs": true,
//"lua.commandPath": "/home/chris/.luambenvs/neovim3/bin/lua-lsp"
//"lua.enable": true,
//"Lua.completion.enable": true,
//"Lua.runtime.version": "Lua 5.1",
//"Lua.runtime.path": ["?.lua", "?/init.lua", "?/?.lua"],
//"lua.version": "5.1"
//"lua.commandPath": "/home/chris/.vscode-insiders/extensions/sumneko.lua-1.0.5/server/bin/Linux/lua-language-server"
// rust
"rust-analyzer.enable":true,
// "rust-analyzer.server.path": "/opt/homebrew/bin/rust-analyzer",
// "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/14.0.3/clangd_14.0.3/bin/clangd",
"git.addGBlameToVirtualText": true
// TODO b:coc_suggest_disable=1 GOYO
// TODO add to paths.vim g:coc_node_path
}