From 6f802bba09690a61d753910119811167016b8ab7 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Thu, 16 May 2019 22:53:16 +0200 Subject: indentation of comments after folded/lit scalars fixes issue #290 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))* --- tokens.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tokens.py') diff --git a/tokens.py b/tokens.py index eb03ae8..d476d49 100644 --- a/tokens.py +++ b/tokens.py @@ -266,6 +266,7 @@ class CommentToken(Token): if SHOWLINES: try: v += ', line: ' + str(self.start_mark.line) + v += ', col: ' + str(self.start_mark.column) except: # NOQA pass return 'CommentToken({})'.format(v) -- cgit v1.2.1