| check_scope {languageserver} | R Documentation |
In an RMarkdown document, tokens can be either inside an R code block or
in the text. This function will return FALSE if the token is in the text
and TRUE if it is in a code block. For any other files, it always returns TRUE.
check_scope(uri, document, point)