diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index b6d9531..0063e1c 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -1,5 +1,36 @@ { - "coc.preferences.formatOnSaveFiletypes": ["javascript", "typescript", "typescriptreact", "json", "javascriptreact", "typescript.tsx"], - "eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"], - "coc.preferences.diagnostic.virtualText": true, + "coc.preferences.colorSupport": true, + "coc.preferences.formatOnInsertLeave": true, + "coc.preferences.formatOnTypeFiletypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx", + "html", + "json", + "Markdown", + "css" + ], + "eslint.filetypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx" + ], + "coc.preferences.formatOnSaveFiletypes": [ + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + "typescript.tsx", + "html", + "json", + "Markdown", + "css" + ], + "diagnostic.errorSign": "x", + "diagnostic.warningSign": "!", + "diagnostic.infoSign": "?" }