mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add module-nim.el
This commit is contained in:
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
|
Reference in New Issue
Block a user