Skip to content

Commit

Permalink
Add missing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
hovsater committed Jan 14, 2022
1 parent 93bed62 commit 2e0d66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ impl Document {
}

/// Language ID for the document. Either the `language-id` from the
// `language-server` configuration, or the document language if no
/// `language-server` configuration, or the document language if no
/// `language-id` has been specified.
pub fn language_id(&self) -> Option<&str> {
let fallback = self.language().and_then(|s| s.split('.').last());
Expand Down

0 comments on commit 2e0d66c

Please sign in to comment.