diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-07-28 08:25:48 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-07-28 08:25:48 -0400 |
commit | fadb4ec682b0083291c49260f798999a4d70400a (patch) | |
tree | 28018a75981111c5fe97dd46581e11318f4eb583 /lisp/cpp.el | |
parent | ed804295d8c266e77574b51a49328b56cb9abdde (diff) | |
parent | 928759bb7a2f91dbf76a55bedc44e25638cd2419 (diff) |
Merge branch 'master' of matthewkosarek.xyz:/srv/git/emacs_config
Diffstat (limited to 'lisp/cpp.el')
-rw-r--r-- | lisp/cpp.el | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/lisp/cpp.el b/lisp/cpp.el index 448b3a3..dd32022 100644 --- a/lisp/cpp.el +++ b/lisp/cpp.el @@ -1,3 +1,6 @@ +;;; package --- Summary + +;;; Code: (defun setup-c() (setq c++-tab-always-indent 0) (setq c-basic-offset 4) ;; Default is 2 @@ -29,29 +32,7 @@ (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) ) -;; == company-mode == -(use-package company - :ensure t - :defer t - :init (add-hook 'after-init-hook 'global-company-mode) - :config - (use-package company-irony :ensure t :defer t) - (setq company-idle-delay nil - company-minimum-prefix-length 2 - company-show-numbers t - company-tooltip-limit 20 - company-dabbrev-downcase nil - company-backends '((company-irony company-gtags)) - ) - :bind ("C-;" . company-complete-common) - ) - -;; Flycheck -(eval-after-load 'flycheck - '(add-hook 'flycheck-mode-hook #'flycheck-irony-setup)) - (require 'cmake-ide) (cmake-ide-setup) - (provide 'cpp) |