This commit is contained in:
Mars 2024-10-13 19:52:09 -04:00
parent 983077017a
commit 59f4251ed8
Signed by: pupbrained
GPG key ID: 874E22DF2F9DFCB5

View file

@ -320,6 +320,11 @@
(go-mode . eglot-ensure) (go-mode . eglot-ensure)
(go-ts-mode . eglot-ensure)) (go-ts-mode . eglot-ensure))
(add-hook 'c-mode-hook 'hide-ifdef-mode)
(add-hook 'c++-mode-hook 'hide-ifdef-mode)
(setq hide-ifdef-initially t)
(setq hide-ifdef-shadow 'font-lock-comment-face)
(use-package rust-mode (use-package rust-mode
:ensure t) :ensure t)