58 lines
2.1 KiB
JSON
58 lines
2.1 KiB
JSON
{
|
||
"coc.preferences.formatOnSaveFiletypes": [
|
||
"javascript",
|
||
"html",
|
||
"css",
|
||
"json",
|
||
"jsonc",
|
||
"sh"
|
||
],
|
||
"codeLens.enable": true,
|
||
"diagnostic.errorSign": "𝐗",
|
||
"diagnostic.warningSign": "➤",
|
||
"diagnostic.infoSign": "●",
|
||
"diagnostic-languageserver.mergeConfig": true,
|
||
"diagnostic-languageserver.filetypes": {
|
||
// lint `sh` (includes `bash`) files
|
||
"sh": "shellcheck",
|
||
"html": "prettier",
|
||
"vim": "vint"
|
||
},
|
||
"diagnostic-languageserver.formatFiletypes": {
|
||
// format `sh` (includes `bash`) files using formatter defined below
|
||
"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": ["-p", "-ci", "-sr"]
|
||
}
|
||
},
|
||
"list.alignColumns": true,
|
||
"suggest.echodocSupport": true,
|
||
"suggest.maxPreviewWidth": 100,
|
||
"snippets.ultisnips.enable": true,
|
||
"snippets.loadFromExtensions": true,
|
||
"snippets.extends": {
|
||
"javascriptreact": ["javascript"],
|
||
"typescript": ["javascript"]
|
||
},
|
||
"tailwindCSS.enable": true,
|
||
"tailwindCSS.validate": true,
|
||
"tailwindCSS.emmetCompletions": true,
|
||
"tailwindCSS.lint.cssConflict": "warning",
|
||
"tsserver.npm": "/home/deadguy/.config/yarn/bin/yarn",
|
||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
|
||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
|
||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true,
|
||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
|
||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
|
||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true
|
||
}
|