Add module-nim.el

This commit is contained in:
Henrik Lissner 2015-12-06 22:56:34 -05:00
parent aafba7d5be
commit aefd0bdd01
2 changed files with 15 additions and 0 deletions

View File

@ -85,6 +85,7 @@
module-lb6 ; LaunchBar 6 development
module-lua ; one-based indices? one-based indices.
module-markdown ; markdown
module-nim ; look out Abraham
module-org ; for fearless [organized] leader
module-plantuml ; to help show how right I am
module-php ; making php less painful to work with

14
modules/module-nim.el Normal file
View File

@ -0,0 +1,14 @@
;;; module-nim.el
(use-package nim-mode
:mode "\\.nim$"
:init
(add-hook! nim-mode '(narf|enable-tab-width-2 flycheck-mode))
:config
(require 'flycheck-nim)
(require 'company-nim)
(define-company-backend! nim-mode (nim yasnippet))
(map! :map nim-mode-map "gd" 'nim-goto-sym))
(provide 'module-nim)
;;; module-nim.el ends here