summaryrefslogtreecommitdiffstats
path: root/lisp/ravi-init-cpp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ravi-init-cpp.el')
-rw-r--r--lisp/ravi-init-cpp.el24
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)))
)
)