Add coc settings
This commit is contained in:
50
.vim/coc-settings.json
Normal file
50
.vim/coc-settings.json
Normal 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" }
|
||||
}
|
||||
Reference in New Issue
Block a user