branch: elpa/flycheck
commit 6c3375902068d8c8525dd7009b8102636df1955b
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Fix continuation indicator appearing on non-wrapped lines
    
    Change overlay property from `line-prefix` to `wrap-prefix` so that
    the continuation indicator (three dots) only appears on visually
    wrapped continuation lines, not on the first line of an error.
    
    Closes #1886
---
 flycheck.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flycheck.el b/flycheck.el
index 2e3de9e437..97eff293ca 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -4825,7 +4825,7 @@ function resolves `conditional' style specifications."
       (setf (overlay-get overlay 'before-string)
             (flycheck-error-level-make-indicator
              level flycheck-indication-mode))
-      (setf (overlay-get overlay 'line-prefix)
+      (setf (overlay-get overlay 'wrap-prefix)
             (flycheck-error-level-make-indicator
              level flycheck-indication-mode t)))
     (pcase (flycheck--highlighting-style err)

Reply via email to