diff options
author | Vika <vika@fireburn.ru> | 2025-03-11 14:14:06 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-04-09 20:20:19 +0300 |
commit | 936ed2d5d00199c545a8cdac763909cc63be096b (patch) | |
tree | c171aafafe26fc648d64ea03481bfd3994bb4eb5 /src/main.rs | |
parent | 2224f5557a3f2d522a82de27cee73234fa856298 (diff) | |
download | bowl-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.rs | 3 |
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 { |