From d62bae9197e25af19cc4ac3e9544c9db24f65f23 Mon Sep 17 00:00:00 2001 From: Mars Date: Tue, 8 Oct 2024 17:44:27 -0400 Subject: [PATCH] uiodghuhg --- config.org | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 62fec8d..3e5f598 100644 --- a/config.org +++ b/config.org @@ -210,10 +210,6 @@ (add-hook 'org-src-mode-hook 'my-org-src-edit-hook) - - (setq-default whitespace-style '(face spaces empty tabs trailing space-mark tab-mark)) - (add-hook 'prog-mode-hook 'whitespace-mode) - ;; Set whitespace actions. (setq-default whitespace-action '(cleanup auto-cleanup)) @@ -315,6 +311,7 @@ (c-ts-mode . eglot-ensure) (c++-mode . eglot-ensure) (c++-ts-mode . eglot-ensure) + (c3-ts-mode . eglot-ensure) (go-mode . eglot-ensure) (go-ts-mode . eglot-ensure)) @@ -322,6 +319,7 @@ :custom (eldoc-box-max-pixel-width 1024) :config + (setq eldoc-message-function #'ignore) (setq eldoc-idle-delay 0)) #+end_src @@ -538,4 +536,13 @@ :ensure (org-modern-indent :type git :host github :repo "jdtsmith/org-modern-indent") :config (add-hook 'org-mode-hook #'org-modern-indent-mode 90)) + + (add-hook 'eglot-managed-mode-hook #'flymake-mode) + + (use-package flymake-diagnostic-at-point + :after flymake + :hook + (flymake-mode . flymake-diagnostic-at-point-mode) + :config + (setq flymake-diagnostic-at-point-timer-delay 0)) #+end_src