;; Time-stamp: <2017-03-24 16:44:20 kmodi>

;; Nim
;; https://github.com/nim-lang/nim-mode

(use-package nim-mode
  :ensure t
  :mode (("\\.nim\\'" . nim-mode)))


(provide 'setup-nim)

;; Time-stamp: <2017-04-14 23:15:22 kmodi>

;; Nim
;; https://github.com/nim-lang/nim-mode

(use-package nim-mode
  :ensure t
  :mode (("\\.nim\\'" . nim-mode))
  :config
  (progn
    (with-eval-after-load 'smart-compile
      (add-to-list 'smart-compile-alist
                   '(nim-mode . "nim c --verbosity:0 %f")))))


(provide 'setup-nim)

Add nim compilation command to smart-compile-alist
Add nim compilation command to smart-compile-alist

kaushalmodi/.emacs.d,kaushalmodi/.emacs.d