Skip to content

Commit 5a20661

Browse files
committed
Fix Flymake diagnostic column off-by-one error.
1 parent 0f3c340 commit 5a20661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-diagnostics.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ See https://github.com/emacs-lsp/lsp-mode."
298298
(when (= start end)
299299
(if-let ((region (flymake-diag-region (current-buffer)
300300
(1+ start-line)
301-
character)))
301+
(1+ character))))
302302
(setq start (car region)
303303
end (cdr region))
304304
(lsp-save-restriction-and-excursion

0 commit comments

Comments
 (0)