mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 22:07:09 +09:00
Small simplification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user