Making a mess of CoC settings for ruff and clang
This commit is contained in:
parent
a337d579ec
commit
2e449c15bd
@ -1,33 +1,49 @@
|
|||||||
{
|
{
|
||||||
"languageserver": {
|
"languageserver": {
|
||||||
"terraform": {
|
"terraform": {
|
||||||
"command": "terraform-lsp",
|
"command": "terraform-lsp",
|
||||||
"filetypes": [
|
"filetypes": [
|
||||||
"terraform"
|
"terraform"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"R": {
|
"R": {
|
||||||
"command": "R",
|
"command": "R",
|
||||||
"args": [
|
"args": [
|
||||||
"--slave",
|
"--slave",
|
||||||
"-e",
|
"-e",
|
||||||
"languageserver::run()"
|
"languageserver::run()"
|
||||||
],
|
],
|
||||||
"filetypes": [
|
"filetypes": [
|
||||||
"r"
|
"r"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"bash": {
|
"bash": {
|
||||||
"command": "bash-language-server",
|
"command": "bash-language-server",
|
||||||
"args": [
|
"args": [
|
||||||
"start"
|
"start"
|
||||||
],
|
],
|
||||||
"filetypes": [
|
"filetypes": [
|
||||||
"sh"
|
"sh"
|
||||||
],
|
],
|
||||||
"ignoredRootPaths": [
|
"ignoredRootPaths": [
|
||||||
"~"
|
"~"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
}
|
"ruff-lsp": {
|
||||||
|
"command": [
|
||||||
|
"ruff-lsp"
|
||||||
|
],
|
||||||
|
"filetypes": [
|
||||||
|
"python"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pyright.enable": true,
|
||||||
|
"pyright.inlayHints.functionReturnTypes": true,
|
||||||
|
"pyright.inlayHints.variableTypes": true,
|
||||||
|
"pyright.organizeimports.provider": "ruff",
|
||||||
|
"pyright.testing.provider": "pytest",
|
||||||
|
"python.formatting.provider": "ruff",
|
||||||
|
"python.linting.ruffEnabled": true,
|
||||||
|
"clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/17.0.3/clangd_17.0.3/bin/clangd"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user