Update coc config
parent
ce6041c9b8
commit
54cc2af949
|
@ -1,24 +1,17 @@
|
||||||
{
|
{
|
||||||
|
"prettier.requireConfig":true,
|
||||||
"eslint.autoFixOnSave": true,
|
"eslint.autoFixOnSave": true,
|
||||||
"eslint.filetypes": [
|
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact", "typescript.tsx", "svelte"],
|
||||||
"javascript",
|
|
||||||
"typescript",
|
|
||||||
"javascriptreact",
|
|
||||||
"typescriptreact",
|
|
||||||
"typescript.tsx",
|
|
||||||
"svelte"
|
|
||||||
],
|
|
||||||
|
|
||||||
"prettier.eslintIntegration": true,
|
|
||||||
"prettier.semi": false,
|
"prettier.semi": false,
|
||||||
"prettier.tabWidth": 2,
|
"prettier.tabWidth": 2,
|
||||||
"prettier.singleQuote": true,
|
"prettier.singleQuote": true,
|
||||||
"prettier.arrowParens": "avoid",
|
"prettier.arrowParens": "avoid",
|
||||||
|
"prettier.printWidth": 120,
|
||||||
"prettier.disableSuccessMessage": true,
|
"prettier.disableSuccessMessage": true,
|
||||||
|
|
||||||
"coc.preferences.colorSupport": true,
|
"coc.preferences.colorSupport": true,
|
||||||
"coc.preferences.formatOnInsertLeave": true,
|
|
||||||
"coc.preferences.formatOnType": true,
|
"coc.preferences.formatOnType": true,
|
||||||
|
|
||||||
"coc.preferences.formatOnTypeFiletypes": [
|
"coc.preferences.formatOnTypeFiletypes": [
|
||||||
"javascript",
|
"javascript",
|
||||||
"typescript",
|
"typescript",
|
||||||
|
@ -31,6 +24,7 @@
|
||||||
"css",
|
"css",
|
||||||
"svelte"
|
"svelte"
|
||||||
],
|
],
|
||||||
|
|
||||||
"coc.preferences.formatOnSaveFiletypes": [
|
"coc.preferences.formatOnSaveFiletypes": [
|
||||||
"javascript",
|
"javascript",
|
||||||
"typescript",
|
"typescript",
|
||||||
|
@ -44,15 +38,25 @@
|
||||||
"svelte"
|
"svelte"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"languageserver": {
|
||||||
|
"racket": {
|
||||||
|
"command": "racket",
|
||||||
|
"args": ["--lib", "racket-langserver"],
|
||||||
|
"filetypes": ["scheme", "racket"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"diagnostic.messageTarget": "echo",
|
||||||
|
"signature.target": "echo",
|
||||||
"diagnostic.errorSign": ">",
|
"diagnostic.errorSign": ">",
|
||||||
"diagnostic.warningSign": ".",
|
"diagnostic.warningSign": ".",
|
||||||
"diagnostic.infoSign": ".",
|
"diagnostic.infoSign": ".",
|
||||||
|
|
||||||
"suggest.autoTrigger": "trigger",
|
"suggest.autoTrigger": "trigger",
|
||||||
|
|
||||||
"emmet.includeLanguages": { "javascript": "javascriptreact" },
|
"emmet.includeLanguages": { "javascript": "javascriptreact" },
|
||||||
|
"javascript.suggestionActions.enabled": true,
|
||||||
"javascript.suggestionActions.enabled": false,
|
"typescript.suggestionActions.enabled": true,
|
||||||
"svelte.plugin.typescript.diagnostics.enable": false,
|
"svelte.plugin.typescript.diagnostics.enable": true,
|
||||||
|
"snippets.userSnippetsDirectory": "~/.vim/snips/",
|
||||||
"snippets.userSnippetsDirectory": "~/.vim/snips/"
|
"coc.source.file.triggerCharacters": ["/"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue