Fix autocomplete

This commit is contained in:
Grim Maple 2022-04-06 22:18:34 +03:00
parent c566de2633
commit b511e32ca3
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views"], "stringImportPaths": ["views"],
"dependencies": { "dependencies": {
"dlangui": "==0.9.182", "dlangui": { "path": "../dlangui"},
"dsymbol": "~>0.4.8", "dsymbol": "~>0.4.8",
"dcd": "~>0.9.13" "dcd": "~>0.9.13"
}, },

View File

@ -322,7 +322,7 @@ class DCDInterface : Thread {
if (i < response.completionKinds.length) if (i < response.completionKinds.length)
type = response.completionKinds[i]; type = response.completionKinds[i];
result.output[i].kind = type; result.output[i].kind = type;
result.output[i].name = to!dstring(s); result.output[i].name = to!dstring(s.identifier);
i++; i++;
} }
if (response.completionType == "calltips") { if (response.completionType == "calltips") {