fix(emacs): flycheck lsp

This commit is contained in:
2026-09-02 07:55:33 -06:00
parent cffe715e30
commit f6c4b58d9e
3 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -1,5 +1,7 @@
;;; init.el -*- lexical-binding: t -*-
(require 'syd/transient)
(syd-require-features
'(syd/base
syd/constants
@@ -33,7 +35,6 @@
syd/which-key
syd/tramp
syd/handle
syd/flycheck
syd/org
syd/org/roam
syd/org/agenda
@@ -5,10 +5,17 @@
;; Nicer error messages, integrates with `lsp-mode'
(use-package flycheck
:custom ((flycheck-highlighting-mode nil))
:custom (; disable annoying underlines.
(flycheck-highlighting-mode nil)
; don't display error at point without input.
(flycheck-auto-display-errors-after-checking nil))
:general
(:states '(motion normal)
"[ e" #'flycheck-previous-error
"] e" #'flycheck-next-error))
"] e" #'flycheck-next-error)
:config
(syd-defadvice syd-suppress-flycheck-popups-a (&rest _)
:override #'flycheck-display-error-at-point-soon
nil))
(provide 'syd/flycheck)
@@ -3,6 +3,7 @@
(require 'syd/base)
(require 'syd/popups)
(require 'syd/handle)
(require 'syd/flycheck)
(use-package lsp-mode
:init