From a948c506d612849386d6df27cb3e5ba6b802351f Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 4 Jun 2019 16:01:02 +0100 Subject: [PATCH] coc vetur --- coc-settings.json | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/coc-settings.json b/coc-settings.json index 3091a9e..7ff4634 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -6,24 +6,28 @@ "suggest.timeout": 1000, "suggest.echodocSupport": true, "signature.enable": true, - "coc.preferences.triggerSignatureHelp": true, "diagnostic.enable": true, "diagnostic.warningSign": "λ", "diagnostic.errorSign": "Λ", "diagnostic.infoSign": "λ", "diagnostic.hintSign": "λ", "coc.source.buffer.ignoreGitignore": true, + "vetur.format.defaultFormatter.js": "prettier-eslint", + "vetur.format.defaultFormatter.html": "prettier", + "vetur.format.defaultFormatter.scss": "prettier", + "python.linting.flake8Enabled": true, + "python.linting.flake8Path": "/home/ray/.local/bin/flake8", + "python.linting.lintOnSave": true, + "python.formatting.provider": "black", + "python.formatting.blackPath": "/home/ray/.local/bin/black", + "coc.preferences.formatOnSaveFiletypes": ["python", "vue"], + + "coc.preferences.triggerSignatureHelp": true, "javascript.suggestionActions.enabled": false, "eslint.enable": true, "eslint.autoFixOnSave": true, "eslint.filetypes": [ "javascript", "vue" - ], - "python.linting.flake8Enabled": true, - "python.linting.flake8Path": "/home/ray/.local/bin/flake8", - "python.linting.lintOnSave": true, - "python.formatting.provider": "black", - "python.formatting.blackPath": "/home/ray/.local/bin/black", - "coc.preferences.formatOnSaveFiletypes": ["python"] + ] }