Making a mess of CoC settings for ruff and clang

This commit is contained in:
Dan Buch 2024-09-06 14:01:34 -04:00
parent a337d579ec
commit 2e449c15bd
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -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"
} }