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"
}, },
@ -30,19 +30,19 @@
"configurations" : [ "configurations" : [
{ {
"name" : "default" "name" : "default"
}, },
{ {
"name" : "minimal", "name" : "minimal",
"subConfigurations" : { "subConfigurations" : {
"dlangui" : "minimal" "dlangui" : "minimal"
} }
}, },
{ {
"name" : "console", "name" : "console",
"subConfigurations" : { "subConfigurations" : {
"dlangui" : "console" "dlangui" : "console"
} }
}, },
{ {
"name" : "x11", "name" : "x11",
"subConfigurations" : { "subConfigurations" : {

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") {