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.
1 parent efb055f commit 2a77d2cCopy full SHA for 2a77d2c
src/languages/django.js
@@ -9,7 +9,7 @@ export default {
9
id: 'django',
10
require: markup,
11
alias: 'jinja2',
12
- grammar: /** @type {Grammar} */ ({
+ grammar: {
13
'django': {
14
pattern: /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/,
15
inside: {
@@ -47,10 +47,6 @@ export default {
47
'punctuation': /[{}[\](),.:;]/,
48
},
49
50
- $tokenize: /** @type {Grammar['$tokenize']} */ (embeddedIn('markup')),
51
- }),
+ $tokenize: embeddedIn('markup'),
+ },
52
};
53
-
54
-/**
55
- * @typedef {import('../types.d.ts').Grammar} Grammar
56
- */
0 commit comments