From 777b36d9b2d22a48ac1aa9dfa88a5a5dfcb29af8 Mon Sep 17 00:00:00 2001 From: verdant Date: Sun, 5 Jul 2026 12:44:32 +0800 Subject: Add comment completationn --- config.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.org b/config.org index c35372e..af08104 100644 --- a/config.org +++ b/config.org @@ -144,6 +144,11 @@ #+begin_src emacs-lisp (global-flycheck-mode) #+end_src +** 补全文档注释 +#+begin_src emacs-lisp +(add-hook 'c-mode-common-hook 'auto-fill-mode) +(setq comment-auto-fill-only-comments t) +#+end_src * Dired ** 默认设置 #+begin_src emacs-lisp -- cgit v1.2.3