rice

personal dot files and scripts for linux and macOS
Log | Files | Refs | README | LICENSE

module-clojure.el (1158B)


      1 ;;; module-clojure.el
      2 
      3 ;; Author: Mark Feller <mark.feller@member.fsf.org>
      4 
      5 ;; This file is not part of GNU Emacs.
      6 
      7 ;; This file is free software; you can redistribute it and/or modify
      8 ;; it under the terms of the GNU General Public License as published by
      9 ;; the Free Software Foundation; either version 3, or (at your option)
     10 ;; any later version.
     11 
     12 ;; This file is distributed in the hope that it will be useful,
     13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 ;; GNU General Public License for more details.
     16 
     17 ;; You should have received a copy of the GNU General Public License
     18 ;; along with this file.  If not, see <http://www.gnu.org/licenses/>.
     19 
     20 ;;; Commentary:
     21 
     22 ;;; Code:
     23 
     24 (use-package clojure-mode
     25   :mode "\\.clj\\'"
     26   :init
     27   (progn
     28     (add-hook 'clojure-mode-hook 'paredit-mode)))
     29 
     30 (use-package flycheck-clojure
     31   :after (clojure-mode flycheck-mode)
     32   :config (add-hook 'clojure-mode-hook 'flycheck-mode))
     33 
     34 (use-package cider
     35   :after (clojure-mode))
     36 
     37 (use-package cljdoc
     38   :after (clojure-mode eldoc))
     39 
     40 (provide 'module-clojure)
     41 
     42 ;;; module-clojure.el ends here