Skip to content

Commit

Permalink
Fix issue #689, inlcude typo in previous refactor commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Jul 27, 2023
1 parent 466aa95 commit d140832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acm/acm-backend-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ If optional MARKER, return a marker instead"
(let* ((first-element-range (plist-get (nth 0 edits) :range))
(second-element-range (plist-get (nth 1 edits) :range))
(first-element-pos (acm-backend-lsp-position-to-point (plist-get first-element-range :start)))
(second-element-pos (acm-backend-lsp-position-to-point (plist-get first-element-range :start))))
(second-element-pos (acm-backend-lsp-position-to-point (plist-get second-element-range :start))))
(if (< first-element-pos second-element-pos)
;; Only reverse edits if `edits' is increasing.
(reverse edits)
Expand Down

0 comments on commit d140832

Please sign in to comment.