diff options
author | Alan Pearce | 2023-12-06 22:31:58 +0100 |
---|---|---|
committer | Alan Pearce | 2023-12-06 22:31:58 +0100 |
commit | aa29d2164a652aa53e048f6acaeacc2e13e41efe (patch) | |
tree | 37bbab311bb64aa375783d3fdbb05c37089842bb /user/emacs | |
parent | 825e49acad8a4c0f85169c9d9e47647c07e12a0f (diff) | |
download | nixfiles-aa29d2164a652aa53e048f6acaeacc2e13e41efe.tar.lz nixfiles-aa29d2164a652aa53e048f6acaeacc2e13e41efe.tar.zst nixfiles-aa29d2164a652aa53e048f6acaeacc2e13e41efe.zip |
Add support for developing in Nim
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 4db02a8a..acf96146 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -748,6 +748,13 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :defer t) (add-to-list 'major-mode-remap-alist '(go-mode . go-ts-mode)) +;;;; nim +(use-package nim-mode + :defer t + :config (progn + (add-to-list 'eglot-server-programs + '(nim-mode "nimlsp")))) + ;;;; rust (use-package rustic :mode (("\\.rs\\'" . rustic-mode)) @@ -1045,6 +1052,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve css-ts-mode-hook go-ts-mode-hook lua-mode-hook + nim-mode-hook scss-mode-hook html-mode-hook nix-mode-hook |