diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2018-05-29 11:58:11 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2018-05-29 11:58:11 (GMT) |
| commit | 4fe8a14a3c2e497ec2d0111475cce433fe6dad8f (patch) | |
| tree | 6644d168310f296f0b04c437c19140239d119eef /lisp/ravi-init-cpp.el | |
| parent | c7b0ca5c28d79ed4fc38b7f6c578e97bc6c7efc4 (diff) | |
| download | dotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.zip dotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.tar.gz dotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.tar.bz2 | |
Automatic use of :ensure
Diffstat (limited to 'lisp/ravi-init-cpp.el')
| -rw-r--r-- | lisp/ravi-init-cpp.el | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/lisp/ravi-init-cpp.el b/lisp/ravi-init-cpp.el index a0c3c9c..14bc370 100644 --- a/lisp/ravi-init-cpp.el +++ b/lisp/ravi-init-cpp.el @@ -35,9 +35,7 @@ (use-package cmake-mode :mode (("CMakeLists\\.txt\\'" . cmake-mode) - ("\\.cmake\\'" . cmake-mode)) - ;:ensure t - ) + ("\\.cmake\\'" . cmake-mode))) (defvar get-buffer-compile-command (lambda (file) (cons file 1))) (make-variable-buffer-local 'get-buffer-compile-command) @@ -103,8 +101,7 @@ ;dummy-h-mode-get-major-mode-by-keywords dummy-h-mode-get-major-mode-by-files-directory)) - (setq dummy-h-mode-default-major-mode 'c++-mode)) - :ensure t) + (setq dummy-h-mode-default-major-mode 'c++-mode))) ;; Bind to f6 later; to do: pretty docstrings (defhydra rtags-hydra (:color blue :hint nil) @@ -561,13 +558,9 @@ this to 3 makes header-protection define KIG_MISC_NEWTYPE_H for a file named (progn (bind-key "H-<tab>" 'company-rtags c-mode-base-map) (setq company-lsp-async t) - (setq company-lsp-cache-candidates nil)) - :ensure t) - (use-package lsp-mode :ensure t) - (use-package lsp-ui :ensure t) - ) - :ensure t) - ) + (setq company-lsp-cache-candidates nil))) + (use-package lsp-mode) + (use-package lsp-ui)))) (setq hide-ifdef-initially nil) @@ -584,8 +577,7 @@ this to 3 makes header-protection define KIG_MISC_NEWTYPE_H for a file named :config (progn (when (fboundp 'ravi/multi-compile-local-setup) - (ravi/multi-compile-local-setup))) - :ensure t) + (ravi/multi-compile-local-setup)))) ;; Enable Malinka (use-package malinka @@ -635,9 +627,7 @@ this to 3 makes header-protection define KIG_MISC_NEWTYPE_H for a file named (interactive) (malinka-mode 1) (ravi/find-current-project)) - (add-hook 'c-mode-common-hook 'ravi/setup-malinka) - ) - :ensure t) + (add-hook 'c-mode-common-hook 'ravi/setup-malinka))) ) ) |
