remove my-cc-style

This commit is contained in:
Łukasz Pankowski 2020-11-01 21:14:48 +01:00
parent 5437c34488
commit 53fead83ac

10
init.el
View File

@ -469,17 +469,7 @@ of the key binding used to execute this command."
;;; For **tab completion** and **lsp** support also add [my common ;;; For **tab completion** and **lsp** support also add [my common
;;; settings for programming modes]. ;;; settings for programming modes].
(defconst my-cc-style
'("k&r"
(c-offsets-alist . ((innamespace . [0])))))
(c-add-style "my-cc-mode" my-cc-style)
(setq-default c-basic-offset 8) (setq-default c-basic-offset 8)
(setq c-default-style '((java-mode . "java")
(awk-mode . "awk")
(c++-mode . "my-cc-mode")
(other . "k&r")))
(defun my-c-c++-mode-hook-fn () (defun my-c-c++-mode-hook-fn ()
(lsp) (lsp)