Skip to content

Commit 2a77d2c

Browse files
django
1 parent efb055f commit 2a77d2c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/languages/django.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
id: 'django',
1010
require: markup,
1111
alias: 'jinja2',
12-
grammar: /** @type {Grammar} */ ({
12+
grammar: {
1313
'django': {
1414
pattern: /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/,
1515
inside: {
@@ -47,10 +47,6 @@ export default {
4747
'punctuation': /[{}[\](),.:;]/,
4848
},
4949
},
50-
$tokenize: /** @type {Grammar['$tokenize']} */ (embeddedIn('markup')),
51-
}),
50+
$tokenize: embeddedIn('markup'),
51+
},
5252
};
53-
54-
/**
55-
* @typedef {import('../types.d.ts').Grammar} Grammar
56-
*/

0 commit comments

Comments
 (0)