diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 8 | ||||
-rw-r--r-- | user/mba.nix | 1 | ||||
-rw-r--r-- | user/prefect.nix | 1 | ||||
-rw-r--r-- | user/settings/development/nim.nix | 13 |
4 files changed, 23 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 diff --git a/user/mba.nix b/user/mba.nix index 4438d9a1..b12173d4 100644 --- a/user/mba.nix +++ b/user/mba.nix @@ -3,6 +3,7 @@ ./settings/base.nix ./settings/development/base.nix ./settings/development/javascript.nix + ./settings/development/nim.nix ./settings/development/web.nix ./settings/darwin.nix ./settings/emacs.nix diff --git a/user/prefect.nix b/user/prefect.nix index 05aaf8c0..2c3c73c6 100644 --- a/user/prefect.nix +++ b/user/prefect.nix @@ -10,6 +10,7 @@ ./settings/development/clojure.nix ./settings/development/lisp.nix ./settings/development/javascript.nix + ./settings/development/nim.nix ./settings/development/rust.nix ./settings/development/web.nix ./settings/fish.nix diff --git a/user/settings/development/nim.nix b/user/settings/development/nim.nix new file mode 100644 index 00000000..3f24c06a --- /dev/null +++ b/user/settings/development/nim.nix @@ -0,0 +1,13 @@ +{ config +, pkgs +, ... +}: { + home.packages = with pkgs; [ + nim + nimble + nimlsp + ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + nim-mode + ]); +} |