We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
html-django
1 parent 680df1d commit 59e2665Copy full SHA for 59e2665
CHANGELOG.md
@@ -18,6 +18,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
18
19
## [Unreleased]
20
21
+### Added
22
+
23
+- Added `html-django` as an alternative Language ID for Django templates
24
25
## [5.1.0a2]
26
27
### Added
crates/djls-server/src/documents.rs
@@ -314,7 +314,7 @@ pub enum LanguageId {
314
impl From<&str> for LanguageId {
315
fn from(language_id: &str) -> Self {
316
match language_id {
317
- "htmldjango" => Self::HtmlDjango,
+ "django-html" | "htmldjango" => Self::HtmlDjango,
318
"python" => Self::Python,
319
_ => Self::Other,
320
}
0 commit comments