Add module-nim.el
This commit is contained in:
parent
aafba7d5be
commit
aefd0bdd01
2 changed files with 15 additions and 0 deletions
14
modules/module-nim.el
Normal file
14
modules/module-nim.el
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue