Permalink
Browse files

le-python.el (lispy-bounds-python-block): Improve

For triple quoted strings.
  • Loading branch information...
1 parent 23b5719 commit f66433837a4ccabcfc7f05d74d7ee8217691d943 @abo-abo committed Jan 12, 2017
Showing with 4 additions and 0 deletions.
  1. +4 −0 le-python.el
View
@@ -104,6 +104,10 @@ Stripping them will produce code that's valid for an eval."
(cons (point)
(save-excursion
(end-of-line)
+ (let (bnd)
+ (when (setq bnd (lispy--bounds-string))
+ (goto-char (cdr bnd))))
+ (end-of-line)
(while (member (char-before)
'(?\\ ?,))
(end-of-line 2))

0 comments on commit f664338

Please sign in to comment.