Add coc settings

master
Hektor Misplon 2020-05-07 00:23:37 +00:00
parent 0aaa47da1e
commit 3d28a719f1
1 changed files with 50 additions and 0 deletions

50
.vim/coc-settings.json Normal file
View File

@ -0,0 +1,50 @@
{
"eslint.autoFixOnSave": true,
"eslint.filetypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx"
],
"prettier.eslintIntegration": true,
"prettier.semi": false,
"prettier.tabWidth": 2,
"prettier.singleQuote": true,
"prettier.arrowParens": "avoid",
"prettier.disableSuccessMessage": true,
"coc.preferences.colorSupport": true,
"coc.preferences.formatOnInsertLeave": true,
"coc.preferences.formatOnType": true,
"coc.preferences.formatOnTypeFiletypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
"css"
],
"coc.preferences.formatOnSaveFiletypes": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"typescript.tsx",
"html",
"json",
"Markdown",
"css"
],
"diagnostic.errorSign": ">",
"diagnostic.warningSign": ".",
"diagnostic.infoSign": ".",
"suggest.autoTrigger": "trigger",
"emmet.includeLanguages": { "javascript": "javascriptreact" }
}