Skip to content

Commit 97c8559

Browse files
Leonyamarijnh
authored andcommitted
[jade mode] Fix typos
1 parent c73ab13 commit 97c8559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mode/jade/jade.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ CodeMirror.defineMode('jade', function (config) {
7474
res.javaScriptArguments = this.javaScriptArguments;
7575
res.javaScriptArgumentsDepth = this.javaScriptArgumentsDepth;
7676
res.isInterpolating = this.isInterpolating;
77-
res.interpolationNesting = this.intpolationNesting;
77+
res.interpolationNesting = this.interpolationNesting;
7878

7979
res.jsState = CodeMirror.copyState(jsMode, this.jsState);
8080

@@ -167,7 +167,7 @@ CodeMirror.defineMode('jade', function (config) {
167167
if (state.interpolationNesting < 0) {
168168
stream.next();
169169
state.isInterpolating = false;
170-
return 'puncutation';
170+
return 'punctuation';
171171
}
172172
} else if (stream.peek() === '{') {
173173
state.interpolationNesting++;

0 commit comments

Comments
 (0)