fix go to defination of vhdl

This commit is contained in:
light-ly 2024-12-24 20:33:10 +08:00
parent 8698584bd1
commit 9897594fdb

View File

@ -37,7 +37,7 @@ pub fn goto_vhdl_definition(server: &LspServer, params: &GotoDefinitionParams) -
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(
ents.into_iter()