From 936ed2d5d00199c545a8cdac763909cc63be096b Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 11 Mar 2025 14:14:06 +0300 Subject: 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. --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.rs') 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 { -- cgit 1.4.1