Skip to content

Commit

Permalink
Support goto-error like 'compile' for 'clippy'
Browse files Browse the repository at this point in the history
  • Loading branch information
roife committed Dec 5, 2023
1 parent 39423d1 commit 72d516f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustic-compile.el
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Buffers are formatted after saving if turned on by `rustic-format-trigger'."
"Provide possibility use `compile-goto-error' on line numbers in compilation buffers.
This hook checks if there's a line number at the beginning of the
current line in an error section."
(-if-let* ((rustic-p (eq major-mode 'rustic-compilation-mode))
(-if-let* ((rustic-p (memq major-mode '(rustic-compilation-mode rustic-cargo-clippy-mode)))
(default-directory rustic-compilation-workspace)
(line-contents (buffer-substring-no-properties
(line-beginning-position)
Expand Down

0 comments on commit 72d516f

Please sign in to comment.