myhome/.config/nvim/coc-settings.json
2021-12-12 10:17:39 +01:00

62 lines
1.8 KiB
JSON

{
"yaml.schemaStore.enable": true,
"yaml.format.enable": true,
"yaml.validate": true,
"yaml.schemas": {
"https://json.schemastore.org/ansible-role-2.9.json": "*.yaml",
"https://json.schemastore.org/ansible-playbook.json": "*.yaml",
"https://json.schemastore.org/ansible-inventory.json": "*yaml",
"https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible-galaxy.json": "*.yaml",
"https://raw.githubusercontent.com/docker/cli/master/cli/compose/schema/data/config_schema_v3.9.json": "*docker-compose.yml",
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*",
"https://json.schemastore.org/docker-compose.json": "*.yaml"
},
"python.formatting.provider": "black",
"python.formatting.blackArgs": ["--line-length", "80"],
"python.pythonPath": "python3",
"coc.preferences.formatOnSaveFiletypes": [
"sh",
"yaml",
"json",
"python",
"css",
"markdown",
"ruby",
"go"
],
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": false,
"diagnostic.checkCurrentLine": false,
"diagnostic-languageserver.filetypes": {
"markdown": ["write-good", "markdownlint"],
"sh": "shellcheck"
},
"languageserver": {
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
},
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "objc", "objcpp"],
"rootPatterns": [
".ccls",
"compile_commands.json",
".vim/",
".git/",
".hg/"
],
"trace.server": "verbose",
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
"solargraph.formatting": true
}