Small simplification

This commit is contained in:
Zachary Yedidia 2018-01-28 15:15:23 -05:00
parent af520cf047
commit a19a6d28a7

View file

@ -654,9 +654,9 @@ func (b *Buffer) clearCursors() {
}
var bracePairs = [][2]rune{
[2]rune{'(', ')'},
[2]rune{'{', '}'},
[2]rune{'[', ']'},
{'(', ')'},
{'{', '}'},
{'[', ']'},
}
// FindMatchingBrace returns the location in the buffer of the matching bracket