57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"prettier.requireConfig":true,
|
|
"eslint.autoFixOnSave": true,
|
|
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"],
|
|
"prettier.semi": false,
|
|
"prettier.tabWidth": 2,
|
|
"prettier.singleQuote": true,
|
|
"prettier.arrowParens": "avoid",
|
|
"prettier.printWidth": 120,
|
|
"prettier.disableSuccessMessage": true,
|
|
"coc.preferences.formatOnType": true,
|
|
"coc.preferences.formatOnTypeFiletypes": [
|
|
"javascript",
|
|
"typescript",
|
|
"javascriptreact",
|
|
"typescriptreact",
|
|
"typescript.tsx",
|
|
"html",
|
|
"json",
|
|
"Markdown",
|
|
"css",
|
|
"svelte"
|
|
],
|
|
"coc.preferences.formatOnSaveFiletypes": [
|
|
"javascript",
|
|
"typescript",
|
|
"javascriptreact",
|
|
"typescriptreact",
|
|
"typescript.tsx",
|
|
"html",
|
|
"json",
|
|
"Markdown",
|
|
"css",
|
|
"svelte"
|
|
],
|
|
"languageserver": {
|
|
"racket": {
|
|
"command": "racket",
|
|
"args": ["--lib", "racket-langserver"],
|
|
"filetypes": ["scheme", "racket"]
|
|
}
|
|
},
|
|
"diagnostic.messageTarget": "echo",
|
|
"signature.target": "echo",
|
|
"diagnostic.errorSign": ">",
|
|
"diagnostic.warningSign": ".",
|
|
"diagnostic.infoSign": ".",
|
|
|
|
"suggest.autoTrigger": "trigger",
|
|
"emmet.includeLanguages": { "javascript": "javascriptreact" },
|
|
"javascript.suggestionActions.enabled": true,
|
|
"typescript.suggestionActions.enabled": true,
|
|
"svelte.plugin.typescript.diagnostics.enable": true,
|
|
"snippets.userSnippetsDirectory": "~/.vim/snips/",
|
|
"coc.source.file.triggerCharacters": ["/"]
|
|
}
|