Remove idle timeout options, back to default

This commit is contained in:
Evie Litherland-Smith 2024-12-16 07:43:28 +00:00
parent a81d4cf462
commit edad4691ff

View file

@ -1059,14 +1059,12 @@
(use-package eglot (use-package eglot
:bind ( :map prog-mode-map :bind ( :map prog-mode-map
("C-c c e" . eglot)
("C-c c a" . eglot-code-actions) ("C-c c a" . eglot-code-actions)
("C-c c r" . eglot-rename)) ("C-c c r" . eglot-rename))
:hook ((prog-mode . eglot-ensure) :hook ((prog-mode . eglot-ensure)
(eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t)))) (eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
:custom :custom
(eglot-menu-string "lsp") (eglot-menu-string "LSP")
(eglot-send-changes-idle-time 0.5)
(eglot-extend-to-xref t) (eglot-extend-to-xref t)
(eglot-autoshutdown t) (eglot-autoshutdown t)
(eglot-sync-connect nil) (eglot-sync-connect nil)
@ -1120,10 +1118,7 @@
(use-package flymake (use-package flymake
:bind (("C-c C-." . flymake-goto-next-error) :bind (("C-c C-." . flymake-goto-next-error)
("C-c C-," . flymake-goto-prev-error)) ("C-c C-," . flymake-goto-prev-error))
:hook ((prog-mode yaml-ts-mode) . (lambda () (flymake-mode +1))) :hook ((prog-mode yaml-ts-mode) . (lambda () (flymake-mode +1))))
:custom
(flymake-no-changes-timeout 0.5)
(flymake-show-diagnostics-at-end-of-line 'short))
(use-package flymake-shellcheck (use-package flymake-shellcheck
:disabled t :disabled t