aboutsummaryrefslogtreecommitdiff
path: root/mardown/lexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'mardown/lexer.go')
-rw-r--r--mardown/lexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mardown/lexer.go b/mardown/lexer.go
index 7ab393f..4eaaf16 100644
--- a/mardown/lexer.go
+++ b/mardown/lexer.go
@@ -42,7 +42,7 @@ func (l *lexers) Current() lexer {
}
func (l *lexers) Finished() bool {
- return l.current >= len(l.lexers)-1
+ return l.current >= len(l.lexers)
}
func (l *lexers) String() string {