mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-06 02:53:39 -08:00
add nvim
This commit is contained in:
38
vim/coc-settings.json
Normal file
38
vim/coc-settings.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user