rice/nvim/coc-settings.json

51 lines
1.5 KiB
JSON
Raw Normal View History

2022-02-07 18:57:03 -08:00
{
"diagnostic.displayByAle": false,
"diagnostic.enable": true,
"diagnostic.level": "hint",
"diagnostic-languageserver.enable": true,
"diagnostic-languageserver.filetypes": {
"sh": "shellcheck",
"python": "pylint"
},
"diagnostic-languageserver.mergeConfig": true,
"diagnostic-languageserver.formatFiletypes": {
"sh": "shfmt",
"python": ["black", "isort"]
},
"diagnostic-languageserver.formatters": {
"shfmt": {
"command": "shfmt",
"args": ["-i", "4", "-ci", "-sr"]
},
"black": {
"command": "black"
}
},
"pyright.organizeimports.provider": "isort",
"pyright.completion.importSupport": true,
"pyright.enable": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "/usr/bin/pylint",
"python.formatting.blackPath": "/usr/bin/black",
"python.analysis.autoSearchPaths": true,
"python.venvPath": "env",
"languageserver": {
"python": {
"command": "pyright",
"filetypes": ["python", "py"]
}
2022-02-08 17:40:44 -08:00
},
"hover.floatConfig": {
"border": true,
"shadow": true,
"focusable": true,
"highlight": "CocFloating",
"borderhighlight": "CocFloating"
},
"diagnostic.virtualText": true,
"diagnostic.virtualTextLines": 5,
"diagnostic.virtualTextLevel": "information",
"codeLens.enable": true,
"codeLens.position": "eol"
2022-02-07 18:57:03 -08:00
}