You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow Flycheck to determine a diagnostic end position when needed. (#4429)
When a Language Server doesn't support an end position for a
diagnostic (by specifying an end position the same as the start
position) Flycheck should be asked to compute the end position using
it's `flycheck-highlighting-mode` setting. This is accomplished by
passing nil as the end-column to `flycheck-error-new`.
This provides consistent behavior between Flymake and Flycheck as the
Flymake integration already checks for this condition and uses it's
similar functionality (i.e., `flymake-diag-region`) to compute an end
position.
0 commit comments