1
0
Fork 0

Enable company-mode in clojure

This commit is contained in:
Tom Willemse 2020-01-28 19:02:19 -08:00
parent 776ba24f3d
commit c7606ee498

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2019.1210.230345 ;; Version: 2020.0128.190042
;; Package-Requires: (clojure-mode cider clojure-mode-extra-font-locking oni-paredit rainbow-delimiters oni-data-dir) ;; 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 ;; 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 ;; 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-font-lock)
(add-hook 'clojure-mode-hook 'oni-clojure-add-indent) (add-hook 'clojure-mode-hook 'oni-clojure-add-indent)
(add-hook 'clojure-mode-hook 'oni-clojure--auto-fill-mode) (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) (add-hook 'cider-repl-mode-hook 'paredit-mode)