diff options
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r-- | helix-term/src/main.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs index 3f37c295..0b55921a 100644 --- a/helix-term/src/main.rs +++ b/helix-term/src/main.rs @@ -152,18 +152,6 @@ FLAGS: setup_logging(logpath, args.verbosity).context("failed to initialize logging")?; - // initialize language registry - use helix_core::syntax::{Loader, LOADER}; - - // load $HOME/.config/helix/languages.toml, fallback to default config - let config = std::fs::read(helix_core::config_dir().join("languages.toml")); - let toml = config - .as_deref() - .unwrap_or(include_bytes!("../../languages.toml")); - - let config = toml::from_slice(toml).context("Could not parse languages.toml")?; - LOADER.get_or_init(|| Loader::new(config)); - // TODO: use the thread local executor to spawn the application task separately from the work pool let mut app = Application::new(args).context("unable to create new appliction")?; app.run().await; |