diff options
author | Blaž Hrastnik | 2022-01-23 07:15:27 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-01-23 07:15:27 +0000 |
commit | 4080341977d10abe91808711a3d5c2bc726c10e1 (patch) | |
tree | 898cc76deaf7647255dc96e339329c5be8080356 /helix-view/src/document.rs | |
parent | 7c9ebd05b83e90e55d032f65d9405ad265b82258 (diff) |
cargo fmt + clippy lint
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r-- | helix-view/src/document.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 0b5cfd22..413da7b2 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -594,11 +594,7 @@ impl Document { /// Set the programming language for the file if you know the name (scope) but don't have the /// [`syntax::LanguageConfiguration`] for it. - pub fn set_language2( - &mut self, - scope: &str, - config_loader: Arc<syntax::Loader>, - ) { + pub fn set_language2(&mut self, scope: &str, config_loader: Arc<syntax::Loader>) { let language_config = config_loader.language_config_for_scope(scope); self.set_language(language_config, Some(config_loader)); |