From c7606ee4984e27d271d21fa1fc9b4cab7050584b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 28 Jan 2020 19:02:19 -0800 Subject: [PATCH] Enable company-mode in clojure --- oni-clojure.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-clojure.el b/oni-clojure.el index 7a1ff32..3d9e4dd 100644 --- a/oni-clojure.el +++ b/oni-clojure.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.1210.230345 -;; Package-Requires: (clojure-mode cider clojure-mode-extra-font-locking oni-paredit rainbow-delimiters oni-data-dir) +;; Version: 2020.0128.190042 +;; Package-Requires: (clojure-mode oni-company cider clojure-mode-extra-font-locking oni-paredit rainbow-delimiters oni-data-dir) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -70,6 +70,7 @@ (add-hook 'clojure-mode-hook 'oni-clojure-add-font-lock) (add-hook 'clojure-mode-hook 'oni-clojure-add-indent) (add-hook 'clojure-mode-hook 'oni-clojure--auto-fill-mode) +(add-hook 'clojure-mode-hook 'company-mode) (add-hook 'cider-repl-mode-hook 'paredit-mode)