fix go to defination of vhdl
This commit is contained in:
parent
8698584bd1
commit
9897594fdb
@ -37,7 +37,7 @@ pub fn goto_vhdl_definition(server: &LspServer, params: &GotoDefinitionParams) -
|
|||||||
return None
|
return None
|
||||||
};
|
};
|
||||||
|
|
||||||
let ents = global_project.project.find_implementation(&source, from_lsp_pos(pos));
|
let ents = global_project.project.find_declaration(&source, from_lsp_pos(pos));
|
||||||
|
|
||||||
Some(GotoDefinitionResponse::Array(
|
Some(GotoDefinitionResponse::Array(
|
||||||
ents.into_iter()
|
ents.into_iter()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user