Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/document.rs')
| -rw-r--r-- | helix-view/src/document.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index aaf9aab5..14526380 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -1737,6 +1737,10 @@ impl Document { current_revision } + pub fn spelling_language(&self) -> Option<helix_core::SpellingLanguage> { + Some(helix_core::SpellingLanguage::EN_US) + } + /// Corresponding language scope name. Usually `source.<lang>`. pub fn language_scope(&self) -> Option<&str> { self.language |