We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40bda48 + 7eb82db commit 8141600Copy full SHA for 8141600
1 file changed
R/definition.R
@@ -85,7 +85,7 @@ definition_reply <- function(id, uri, workspace, document, point, rootPath) {
85
}
86
87
88
- if (!resolved) {
+ if (!resolved && check_scope(uri, document, point)) {
89
result <- workspace$get_definition(token_result$token, token_result$package,
90
exported_only = token_result$accessor != ":::")
91
0 commit comments