-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoc-settings.json
More file actions
174 lines (174 loc) · 5.04 KB
/
coc-settings.json
File metadata and controls
174 lines (174 loc) · 5.04 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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"coc.preferences.formatOnSave": false,
"diagnostic.errorSign": "●",
"diagnostic.warningSign": "●",
"diagnostic.infoSign": "ღ",
"diagnostic.hintSign": "ஐ",
"diagnostic.displayByAle": false,
"diagnostic.refreshOnInsertMode": false,
"diagnostic.checkCurrentLine": true,
"diagnostic.virtualTextPrefix": " ❯❯❯ ",
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": false,
"diagnostic-languageserver.filetypes": {
"vim": "vint",
"email": "languagetool",
"markdown": ["write-good", "markdownlint"],
"sh": "shellcheck",
"elixir": ["mix_credo", "mix_credo_compile"],
"eelixir": ["mix_credo", "mix_credo_compile"],
"php": ["phpstan", "psalm"]
},
"diagnostic-languageserver.formatFiletypes": {
"elixir": "mix_format",
"eelixir": "mix_format"
},
"extensions.updateCheck": "daily",
"inlayHint.enable": false,
"javascript.showUnused": true,
"javascript.suggest.names": true,
"javascript.suggestionActions.enabled": true,
"json.format.enable": true,
"prettier.disableLanguages": [],
"prettier.useTabs": true,
"prettier.trailingComma": "all",
"python.formatting.provider": "black",
"python.linting.mypyEnabled": false,
"python.linting.mypyPath": "mypy",
"python.linting.ruffEnabled": true,
"python.linting.ruffPath": "ruff",
"snippets.ultisnips.directories": [
"$HOME/.config/nvim/UltiSnips/",
"$HOME/.local/share/nvim/lazy/vim-snippets/UltiSnips/",
],
"suggest.labelMaxLength": 30,
"suggest.noselect": false,
"suggest.enablePreselect": false,
"suggest.maxCompleteItemCount": 100,
"suggest.triggerAfterInsertEnter": false,
"suggest.timeout": 5000,
"suggest.detailField": "preview",
"suggest.snippetIndicator": "",
"suggest.triggerCompletionWait": 10,
"suggest.completionItemKindLabels": {
"class": "\uf0e8",
"color": "\ue22b",
"constant": "\uf8fe",
"default": "\uf29c",
"enum": "\uf435",
"enumMember": "\uf02b",
"event": "\ufacd",
"field": "\uf93d",
"file": "\uf723",
"folder": "\uf115",
"function": "\u0192",
"interface": "\uf417",
"keyword": "\uf1de",
"method": "\uf6a6",
"module": "\uf40d",
"operator": "\uf915",
"property": "\ue624",
"reference": "\ufa46",
"snippet": "\ue60b",
"struct": "\ufb44",
"text": "\ue612",
"typeParameter": "\uf728",
"unit": "\uf475",
"value": "\uf89f",
"variable": "\ue71b"
},
"yank.enableCompletion": false,
"languageserver": {
"asm-lsp": {
"command": "asm-lsp",
"filetypes": ["asm", "s", "S"]
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": []
},
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": ".cache"
}
},
"enable": false
},
"clangd": {
"command": "clangd",
"args": ["--all-scopes-completion", "--clang-tidy",
"-j=4", "--completion-style=detailed", "--pch-storage=memory"
],
"rootPatterns": ["compile_flags.txt", "compile_commands.json"],
"filetypes": ["c", "cc", "cpp", "c++", "cuda", "objc", "objcpp"],
"enable": true
},
"cmake": {
"command": "cmake-language-server",
"filetypes": ["cmake"],
"rootPatterns": [
"build/"
],
"initializationOptions": {
"buildDirectory": "build"
}
},
"golang": {
"command": "$HOME/go/bin/gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"],
"initializationOptions": {
"usePlaceholders": true
}
},
"lua": {
"command": "lua-language-server",
"filetypes": ["lua"],
"rootPatterns": [".git/"],
"settings": {
"Lua": {
"completion": {
"keywordSnippet": "Disable"
},
"diagnostics": {
"enable": true,
"globals": ["hs", "vim", "it", "describe", "before_each", "after_each"],
"disable": ["lowercase-global", "undefined-global"]
},
"runtime": {
"version": "Lua 5.4"
},
"workspace": {
"library": {
"/usr/share/nvim/runtime/lua": true
},
"maxPreload": 2000,
"preloadFileSize": 1000
}
}
}
},
"rust": {
"command": "rust-analyzer",
"filetypes": ["rust"],
"rootPatterns": ["Cargo.toml"]
},
"svlangserver": {
"command": "svlangserver",
"filetypes": ["verilog", "systemverilog"],
"settings": {
"systemverilog.includeIndexing": ["**/*.{v,vh,sv,svh}"],
"systemverilog.excludeIndexing": ["test/**/*.v*", "test/**/*.sv*"],
"systemverilog.defines" : [],
"systemverilog.launchConfiguration": "verilator -sv -Wall --lint-only",
"systemverilog.formatCommand": "verible-verilog-format"
}
},
}
}