Remove obvious and add meaningful comments

Remove the obvious and add some meaningful comments.
This commit is contained in:
finga 2024-05-28 17:03:24 +02:00
parent faa5a9908f
commit 5a55a3f3f3
4 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,8 @@
;; set c style to linux and indention to 2
(setq c-default-style "linux" (setq c-default-style "linux"
c-basic-offset 2) c-basic-offset 2)
;; set max line length to 100
(add-hook 'c-mode-hook (add-hook 'c-mode-hook
(lambda () (lambda ()
(set-fill-column 100))) (set-fill-column 100)))

View file

@ -1,4 +1,3 @@
;; paredit
(use-package paredit (use-package paredit
:ensure t :ensure t
:config :config
@ -37,7 +36,6 @@
;; enable flyspell checks for comments in code ;; enable flyspell checks for comments in code
(add-hook 'prog-mode-hook #'flyspell-prog-mode) (add-hook 'prog-mode-hook #'flyspell-prog-mode)
;; language server
(use-package lsp-mode (use-package lsp-mode
:ensure t :ensure t
:config :config

View file

@ -1,4 +1,3 @@
;; magit
(use-package magit (use-package magit
:ensure t :ensure t
:init :init

View file

@ -1,4 +1,3 @@
;; use ripgrep in emacs
(use-package deadgrep (use-package deadgrep
:ensure t :ensure t
:bind ("M-s d" . deadgrep)) :bind ("M-s d" . deadgrep))