Add module-nim.el
This commit is contained in:
parent
aafba7d5be
commit
aefd0bdd01
2 changed files with 15 additions and 0 deletions
1
init.el
1
init.el
|
@ -85,6 +85,7 @@
|
||||||
module-lb6 ; LaunchBar 6 development
|
module-lb6 ; LaunchBar 6 development
|
||||||
module-lua ; one-based indices? one-based indices.
|
module-lua ; one-based indices? one-based indices.
|
||||||
module-markdown ; markdown
|
module-markdown ; markdown
|
||||||
|
module-nim ; look out Abraham
|
||||||
module-org ; for fearless [organized] leader
|
module-org ; for fearless [organized] leader
|
||||||
module-plantuml ; to help show how right I am
|
module-plantuml ; to help show how right I am
|
||||||
module-php ; making php less painful to work with
|
module-php ; making php less painful to work with
|
||||||
|
|
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