Skip to content

Commit 06626c1

Browse files
mtaran-googlemarijnh
authored andcommitted
[go mode] Set Go mode to use brace folding
1 parent 0596f15 commit 06626c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mode/go/go.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ CodeMirror.defineMode("go", function(config) {
159159
},
160160

161161
electricChars: "{}):",
162+
fold: "brace",
162163
blockCommentStart: "/*",
163164
blockCommentEnd: "*/",
164165
lineComment: "//"

0 commit comments

Comments
 (0)