Move flycheck back into init.el and add tooltip function
This commit is contained in:
32
disabled.el
32
disabled.el
@ -47,38 +47,6 @@
|
||||
;; (fido-mode 1)
|
||||
;; (fido-vertical-mode 1))
|
||||
|
||||
;; flycheck
|
||||
;; (use-package flycheck
|
||||
;; :hook (emacs-lisp-mode . flycheck-mode)
|
||||
;; :bind (:map flycheck-mode-map
|
||||
;; ("C-c e" . my/flycheck-show-diagnostic-at-point))
|
||||
;; :init
|
||||
;; (setq flycheck-display-errors-function nil)
|
||||
;; (defun my/flycheck-show-diagnostic-at-point ()
|
||||
;; (interactive)
|
||||
;; (if-let ((flycheck-mode)
|
||||
;; (errors (flycheck-overlay-errors-at (point)))
|
||||
;; (message (apply 'concat
|
||||
;; (mapcar
|
||||
;; (lambda (error)
|
||||
;; (concat "•" (flycheck-error-message error) "\n"))
|
||||
;; errors))))
|
||||
;; (if (display-graphic-p)
|
||||
;; (progn
|
||||
;; (posframe-show " *flycheck-error-posframe*"
|
||||
;; :string message
|
||||
;; :position (point)
|
||||
;; :max-width 80
|
||||
;; :border-width 2
|
||||
;; :border-color "white")
|
||||
;; (clear-this-command-keys)
|
||||
;; (push (read-event) unread-command-events)
|
||||
;; (posframe-hide " *flycheck-error-posframe*"))
|
||||
;; (popup-tip message)))))
|
||||
;; (use-package consult-flycheck
|
||||
;; :bind (:map flycheck-mode-map
|
||||
;; ("C-c C-e" . consult-flycheck)))
|
||||
|
||||
;; lsp-mode
|
||||
;; (use-package consult-lsp)
|
||||
;; (use-package lsp-mode
|
||||
|
Reference in New Issue
Block a user