|
|
@ -296,6 +296,8 @@ setq org-log-done t) |
|
|
|
|
|
|
|
|
|
|
|
(add-hook 'after-init-hook 'global-company-mode) |
|
|
|
(add-hook 'after-init-hook 'global-company-mode) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
|
;; Alignment |
|
|
|
;; Alignment |
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
@ -365,6 +367,13 @@ setq org-log-done t) |
|
|
|
|
|
|
|
|
|
|
|
(add-hook 'c-mode-hook 'irony-mode) |
|
|
|
(add-hook 'c-mode-hook 'irony-mode) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Backend for Company |
|
|
|
|
|
|
|
(defun my-c-mode-hook () |
|
|
|
|
|
|
|
(eval-after-load 'company |
|
|
|
|
|
|
|
'(add-to-list 'company-backends 'company-irony))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(add-hook 'c-mode-hook 'my-c-mode-hook) |
|
|
|
|
|
|
|
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;; Java Mode Setup |
|
|
|
;; Java Mode Setup |
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
|
;;------------------------------------------------------------------------------------- |
|
|
|