mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Fix textDocument/implementation
This commit is contained in:
parent
66bf514b5f
commit
dc20ea3b33
@ -185,10 +185,17 @@ struct Handler_textDocumentImplementation
|
||||
: BaseMessageHandler<In_textDocumentImplementation> {
|
||||
MethodType GetMethodType() const override { return implementation; }
|
||||
void Run(In_textDocumentImplementation *request) override {
|
||||
Handler_cclsInheritance handler;
|
||||
handler.db = db;
|
||||
handler.project = project;
|
||||
handler.working_files = working_files;
|
||||
|
||||
In_cclsInheritance request1;
|
||||
request1.id = request->id;
|
||||
request1.params.textDocument = request->params.textDocument;
|
||||
request1.params.position = request->params.position;
|
||||
Handler_cclsInheritance().Run(&request1);
|
||||
request1.params.derived = true;
|
||||
handler.Run(&request1);
|
||||
}
|
||||
};
|
||||
REGISTER_MESSAGE_HANDLER(Handler_textDocumentImplementation);
|
||||
|
Loading…
Reference in New Issue
Block a user