Fix environment command in LaTeX-mode

This commit is contained in:
Alexander Rosenberg 2024-10-21 17:17:35 -07:00
parent d77e600000
commit 6ce7d9aaed
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -1008,10 +1008,10 @@ With PROJECT, give diagnostics for all buffers in the current project."
:state (consult--jump-state))) :state (consult--jump-state)))
(with-eval-after-load 'flymake (with-eval-after-load 'flymake
(define-key flymake-mode-map (kbd "C-c e") 'my/diagnostic-at-point) (define-key flymake-mode-map (kbd "C-c e") 'my/diagnostic-at-point)
(define-key flymake-mode-map (kbd "C-c C-e") 'my/consult-flymake-flycheck)) (define-key flymake-mode-map (kbd "C-c E") 'my/consult-flymake-flycheck))
(with-eval-after-load 'flycheck (with-eval-after-load 'flycheck
(define-key flycheck-mode-map (kbd "C-c e") 'my/diagnostic-at-point) (define-key flycheck-mode-map (kbd "C-c e") 'my/diagnostic-at-point)
(define-key flycheck-mode-map (kbd "C-c C-e") 'my/consult-flymake-flycheck)) (define-key flycheck-mode-map (kbd "C-c E") 'my/consult-flymake-flycheck))
(with-eval-after-load 'jinx (with-eval-after-load 'jinx
(define-key jinx-mode-map (kbd "C-c e") 'my/diagnostic-at-point)) (define-key jinx-mode-map (kbd "C-c e") 'my/diagnostic-at-point))