diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json new file mode 100644 index 0000000..345b8b9 --- /dev/null +++ b/.vim/coc-settings.json @@ -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" } +}