-
Notifications
You must be signed in to change notification settings - Fork 0
/
coc-settings.json
81 lines (70 loc) · 2.06 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
{
// suggestions
// "suggest.echodocSupport": true,
// TODO add more labels and give them cool glyphs
"suggest.completionItemKindLabels": {
"text": "t",
"method": "m",
"function": ""
},
// diagnostics
"diagnostic.errorSign": " ",
"diagnostic.warningSign": " ",
"diagnostic.infoSign": "",
"diagnostic.hintSign": " ",
"diagnostic.virtualText": true, // this won't work with codelens when error on same line
// "diagnostic.displayByAle": true,
// codelens TODO what does this get me?
// "codeLens.enable": true,
// list
"list.indicator": ">",
"list.selectedSignText": " ",
// autoformat
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"javascript",
"graphql",
"html",
"yaml",
"json",
"python"
],
"coc.preferences.hoverTarget": "float",
// python config
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black",
"python.formatting.blackPath": "~/.miniconda/envs/neovim/bin/black",
// "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
"python.condaPath": "~/.miniconda/bin/conda",
"python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
"python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
// snippets
"snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
//"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
// emmet
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact"
},
// explorer
"explorer.width": 30,
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false,
"explorer.icon.enableVimDevicons": false,
"explorer.keyMappings": {
"<cr>": ["expandable?", "expand", "open"],
"v": "open:vsplit"
},
"languageserver": {
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
}
}
// TODO b:coc_suggest_disable=1 GOYO
// TODO add to paths.vim g:coc_node_path
}