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.
1 parent 5ec2eed commit 2032df1Copy full SHA for 2032df1
crates/ark/src/lsp/indexer.rs
@@ -255,7 +255,8 @@ fn index_assignment(
255
if crate::treesitter::node_is_call(&rhs, "R6Class", contents) ||
256
crate::treesitter::node_is_namespaced_call(&rhs, "R6", "R6Class", contents)
257
{
258
- index_r6_class(path, contents, &rhs, entries)?;
+ index_r6_class_methods(path, contents, &rhs, entries)?;
259
+ // Fallthrough to index the variable to which the R6 class is assigned
260
}
261
262
let lhs_text = contents.node_slice(&lhs)?.to_string();
@@ -309,7 +310,7 @@ fn index_assignment(
309
310
Ok(())
311
312
-fn index_r6_class(
313
+fn index_r6_class_methods(
314
_path: &Path,
315
contents: &Rope,
316
node: &Node,
0 commit comments