Patch allow-non-breakable-words on '-'

This commit is contained in:
Michele Bariani
2016-06-15 17:32:53 +02:00
parent d0cb5998c4
commit 867970258e
2 changed files with 13 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ def check(conf, line):
start += 1
if start != line.end:
if line.buffer[start] == '#':
if line.buffer[start] in ('#', '-'):
start += 2
if line.buffer.find(' ', start, line.end) == -1: