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",
|
"displayName": "pylyzer",
|
||||||
"description": "A fast Python static code analyzer & language server for VSCode",
|
"description": "A fast Python static code analyzer & language server for VSCode",
|
||||||
"publisher": "pylyzer",
|
"publisher": "pylyzer",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.70.0"
|
"vscode": "^1.70.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,7 @@ async function startLanguageClient(context: ExtensionContext) {
|
||||||
/* optional features */
|
/* optional features */
|
||||||
const checkOnType = workspace.getConfiguration("pylyzer").get<boolean>("checkOnType", false);
|
const checkOnType = workspace.getConfiguration("pylyzer").get<boolean>("checkOnType", false);
|
||||||
const args = ["--server"];
|
const args = ["--server"];
|
||||||
if (!(enableDiagnostics && enableSemanticTokens && enableHover && smartCompletion) || (checkOnType || enableInlayHints)) {
|
|
||||||
args.push("--");
|
args.push("--");
|
||||||
}
|
|
||||||
if (!enableDiagnostics) {
|
if (!enableDiagnostics) {
|
||||||
args.push("--disable");
|
args.push("--disable");
|
||||||
args.push("diagnostic");
|
args.push("diagnostic");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue