summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-03-11 14:14:06 +0300
committerVika <vika@fireburn.ru>2025-04-09 20:20:19 +0300
commit936ed2d5d00199c545a8cdac763909cc63be096b (patch)
treec171aafafe26fc648d64ea03481bfd3994bb4eb5 /src/main.rs
parent2224f5557a3f2d522a82de27cee73234fa856298 (diff)
downloadbowl-936ed2d5d00199c545a8cdac763909cc63be096b.tar.zst
libspelling support
While libspelling is rather primitive (i.e. doesn't support mixing languages),
it's better than nothing to detect simple spelling mistakes. Let's use it.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 9f531ea..989516a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,6 +16,9 @@ fn main() {
 
     relm4_icons::initialize_icons(bowl::icons::GRESOURCE_BYTES, bowl::icons::RESOURCE_PREFIX);
 
+    sourceview5::init();
+    spelling::init();
+
     let app = relm4::RelmApp::new(bowl::APPLICATION_ID);
     relm4::set_global_css("/* CSS for Bowl */
 .tag-pill button {