Fix function snippets not working with details
This commit is contained in:
parent
a96532aa65
commit
0f3eb1df36
@ -1307,8 +1307,6 @@ fn formatDetailledLabel(item: *types.CompletionItem, alloc: std.mem.Allocator) !
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
item.insertText = item.label;
|
|
||||||
item.insertTextFormat = .PlainText;
|
|
||||||
item.detail = item.label;
|
item.detail = item.label;
|
||||||
item.labelDetails = .{ .detail = it[s .. e + 1], .description = it[e + 1 ..] };
|
item.labelDetails = .{ .detail = it[s .. e + 1], .description = it[e + 1 ..] };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user