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 authored and CeleritasCelery committed May 17, 2024
1 parent 7e51d36 commit 9ebb428
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 @@ -464,7 +464,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 (derived-mode-p 'rustic-compilation-mode))
(default-directory rustic-compilation-workspace)
(line-contents (buffer-substring-no-properties
(line-beginning-position)
Expand Down

0 comments on commit 9ebb428

Please sign in to comment.