Skip to content

Commit 2ffbf48

Browse files
committed
[yaml mode] Add lineComment property
Closes codemirror#5248
1 parent e4ce372 commit 2ffbf48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mode/yaml/yaml.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ CodeMirror.defineMode("yaml", function() {
108108
literal: false,
109109
escaped: false
110110
};
111-
}
111+
},
112+
lineComment: "#"
112113
};
113114
});
114115

0 commit comments

Comments
 (0)