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))