We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a88d819 + 8141600 commit e272fe1Copy full SHA for e272fe1
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