summaryrefslogtreecommitdiffstats
path: root/lisp/ravi-init-insertion.el
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2018-05-29 11:58:11 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2018-05-29 11:58:11 (GMT)
commit4fe8a14a3c2e497ec2d0111475cce433fe6dad8f (patch)
tree6644d168310f296f0b04c437c19140239d119eef /lisp/ravi-init-insertion.el
parentc7b0ca5c28d79ed4fc38b7f6c578e97bc6c7efc4 (diff)
downloaddotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.zip
dotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.tar.gz
dotemacs-4fe8a14a3c2e497ec2d0111475cce433fe6dad8f.tar.bz2
Automatic use of :ensure
Diffstat (limited to 'lisp/ravi-init-insertion.el')
-rw-r--r--lisp/ravi-init-insertion.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/ravi-init-insertion.el b/lisp/ravi-init-insertion.el
index 4c761b3..40f2b05 100644
--- a/lisp/ravi-init-insertion.el
+++ b/lisp/ravi-init-insertion.el
@@ -51,9 +51,7 @@
("<f4>" . aya-expand))
:ensure t)
)
- :ensure t
- :diminish yas-minor-mode
- )
+ :diminish yas-minor-mode)
;; Default completion (some day via "M-/")
(require 'hippie-exp)
@@ -113,9 +111,7 @@
(path-list-with-spaces (and combined-list (split-string combined-list "\n" t)))
(path-list (and path-list-with-spaces (mapcar 's-trim-left path-list-with-spaces))))
path-list))
- (mapc (lambda (dir) (add-to-list 'company-c-headers-path-system dir)) (ravi/get-default-include-paths))
- )
- :ensure t)
+ (mapc (lambda (dir) (add-to-list 'company-c-headers-path-system dir)) (ravi/get-default-include-paths))))
;; To do: enable when moving to emacs 26+
;; (use-package company-box :hook (company-mode . company-box-mode) :ensure t)
@@ -126,8 +122,7 @@
(company-quickhelp-mode 1)
;; Enable company-quickhelp only when company-mode is active
;; (unbind-key "M-h" company-quickhelp-mode-map)
- (bind-key "M-h" 'company-quickhelp-manual-begin company-active-map))
- :ensure t)
+ (bind-key "M-h" 'company-quickhelp-manual-begin company-active-map)))
(use-package company-statistics
:init
@@ -135,8 +130,7 @@
(ravi/emacs-file "past")))
:config
(progn
- (company-statistics-mode))
- :ensure t)
+ (company-statistics-mode)))
;; Get rid of company-semantic as it interferes with clang-based backends
(setq company-backends (delete 'company-semantic company-backends))
@@ -151,8 +145,7 @@
(bind-key "<backtab>" 'ravi/company-to-yasnippet company-active-map)
(bind-key "<backtab>" 'company-yasnippet))
- :diminish company-mode
- :ensure t)
+ :diminish company-mode)
(provide 'ravi-init-insertion)
;;; ravi-init-insertion.el ends here