-
Notifications
You must be signed in to change notification settings - Fork 3
/
coc-settings.json
25 lines (25 loc) · 1.02 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
{
"explorer.icon.enableNerdfont": true,
"diagnostic-languageserver.filetypes": {
// lint `sh` (includes `bash`) files
"sh": "shellcheck"
},
"diagnostic-languageserver.formatFiletypes": {
"sh": "shfmt"
},
"diagnostic-languageserver.formatters": {
// define our formatter so that we can reference it from
// `diagnostic-languageserver.formatFiletypes`
"shfmt": {
"command": "shfmt",
// all the below args are entirely optional
// primarily listed here to call out that flags which take an
// argument (such as `-i <num-spaces>` for specifying indentation)
// should be split into two strings, the flag and then the value
"args": [
"-i",
"4"
]
}
}
}