Skip to content

Commit e5e07d8

Browse files
as3boyanmarijnh
authored andcommitted
[haxe mode] Fix indentation for types
1 parent ba52f83 commit e5e07d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mode/haxe/haxe.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ CodeMirror.defineMode("haxe", function(config, parserConfig) {
311311
function typedef (type, value)
312312
{
313313
if(type == "variable" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }
314+
else if (type == "type" && /[A-Z]/.test(value.charAt(0))) { return cont(); }
314315
}
315316

316317
function maybelabel(type) {

0 commit comments

Comments
 (0)