From 5a55a3f3f3624d2a4f113ed85c4b4b49a2634a12 Mon Sep 17 00:00:00 2001 From: finga Date: Tue, 28 May 2024 17:03:24 +0200 Subject: [PATCH] Remove obvious and add meaningful comments Remove the obvious and add some meaningful comments. --- .emacs.d/config/c.el | 2 ++ .emacs.d/config/dev.el | 2 -- .emacs.d/config/git.el | 1 - .emacs.d/config/ripgrep.el | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.emacs.d/config/c.el b/.emacs.d/config/c.el index 7605df6..5f0efc4 100644 --- a/.emacs.d/config/c.el +++ b/.emacs.d/config/c.el @@ -1,6 +1,8 @@ +;; set c style to linux and indention to 2 (setq c-default-style "linux" c-basic-offset 2) +;; set max line length to 100 (add-hook 'c-mode-hook (lambda () (set-fill-column 100))) diff --git a/.emacs.d/config/dev.el b/.emacs.d/config/dev.el index a93a3c2..08cc5f3 100644 --- a/.emacs.d/config/dev.el +++ b/.emacs.d/config/dev.el @@ -1,4 +1,3 @@ -;; paredit (use-package paredit :ensure t :config @@ -37,7 +36,6 @@ ;; enable flyspell checks for comments in code (add-hook 'prog-mode-hook #'flyspell-prog-mode) -;; language server (use-package lsp-mode :ensure t :config diff --git a/.emacs.d/config/git.el b/.emacs.d/config/git.el index 045c313..050e1bb 100644 --- a/.emacs.d/config/git.el +++ b/.emacs.d/config/git.el @@ -1,4 +1,3 @@ -;; magit (use-package magit :ensure t :init diff --git a/.emacs.d/config/ripgrep.el b/.emacs.d/config/ripgrep.el index 0bbd8a9..e5b8a87 100644 --- a/.emacs.d/config/ripgrep.el +++ b/.emacs.d/config/ripgrep.el @@ -1,4 +1,3 @@ -;; use ripgrep in emacs (use-package deadgrep :ensure t :bind ("M-s d" . deadgrep))