diff options
author | Blaž Hrastnik | 2020-11-05 06:15:19 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-12-03 04:12:07 +0000 |
commit | a7869c728c663f255d5d2544e42f21ccf57b2414 (patch) | |
tree | 3f4405002a180d1e1d3c63acf1c8fe65abb35684 /helix-core/src | |
parent | 3f707c19f46284d745568c632a57103eb1be4dd4 (diff) |
wip
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/syntax.rs | 4 |
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; |