Remove obvious and add meaningful comments
Remove the obvious and add some meaningful comments.
This commit is contained in:
parent
faa5a9908f
commit
5a55a3f3f3
4 changed files with 2 additions and 4 deletions
|
@ -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)))
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
;; magit
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue