mirror of https://github.com/mtshiba/pylyzer
fix: an extension bug
This commit is contained in:
parent
f8f491559e
commit
9e85a85428
|
|
@ -3,7 +3,7 @@
|
|||
"displayName": "pylyzer",
|
||||
"description": "A fast Python static code analyzer & language server for VSCode",
|
||||
"publisher": "pylyzer",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"engines": {
|
||||
"vscode": "^1.70.0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@ async function startLanguageClient(context: ExtensionContext) {
|
|||
/* optional features */
|
||||
const checkOnType = workspace.getConfiguration("pylyzer").get<boolean>("checkOnType", false);
|
||||
const args = ["--server"];
|
||||
if (!(enableDiagnostics && enableSemanticTokens && enableHover && smartCompletion) || (checkOnType || enableInlayHints)) {
|
||||
args.push("--");
|
||||
}
|
||||
args.push("--");
|
||||
if (!enableDiagnostics) {
|
||||
args.push("--disable");
|
||||
args.push("diagnostic");
|
||||
|
|
|
|||
Loading…
Reference in New Issue