aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/document.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/lsp/document.py')
-rw-r--r--pyGHDL/lsp/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/lsp/document.py b/pyGHDL/lsp/document.py
index 1a6a20f39..eec5c5bee 100644
--- a/pyGHDL/lsp/document.py
+++ b/pyGHDL/lsp/document.py
@@ -197,7 +197,7 @@ class Document(object):
pos = files_map.File_Line_To_Position(self._fe, position["line"] + 1)
return files_map.File_Pos_To_Location(self._fe, pos) + position["character"]
- def goto_definition(self, position):
+ def find_definition(self, position):
loc = self.position_to_location(position)
return references.find_definition_by_loc(self._tree, loc)