Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 3f8437f

Browse files
authored
fix hoverables query for ruby (#680)
1 parent 6f93a13 commit 3f8437f

File tree

1 file changed

+6
-1
lines changed
  • server/bleep/src/intelligence/language/ruby

1 file changed

+6
-1
lines changed

server/bleep/src/intelligence/language/ruby/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ pub static RUBY: TSLanguageConfig = TSLanguageConfig {
77
scope_query: MemoizedQuery::new(include_str!("./scopes.scm")),
88
hoverable_query: MemoizedQuery::new(
99
r#"
10-
(identifier) @hoverable
10+
[(identifier)
11+
(class_variable)
12+
(instance_variable)
13+
(constant)
14+
(global_variable)
15+
(hash_key_symbol)] @hoverable
1116
"#,
1217
),
1318
namespaces: &[

0 commit comments

Comments
 (0)