aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-11-05 06:15:19 +0000
committerBlaž Hrastnik2020-12-03 04:12:07 +0000
commita7869c728c663f255d5d2544e42f21ccf57b2414 (patch)
tree3f4405002a180d1e1d3c63acf1c8fe65abb35684 /helix-core/src/syntax.rs
parent3f707c19f46284d745568c632a57103eb1be4dd4 (diff)
wip
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index f4826fb4..70d42c47 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -62,6 +62,10 @@ impl LanguageConfiguration {
})
.map(Option::as_ref)
}
+
+ pub fn scope(&self) -> &str {
+ &self.scope
+ }
}
use once_cell::sync::Lazy;