From eebab83b74c2788ac0821d28f1c50f189422eff8 Mon Sep 17 00:00:00 2001 From: rondDev Date: Sat, 17 Aug 2024 13:08:10 +0200 Subject: [PATCH] feat: add :lang nu --- init.el | 1 + modules/lang/nu/config.el | 6 ++++++ modules/lang/nu/packages.el | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 modules/lang/nu/config.el create mode 100644 modules/lang/nu/packages.el diff --git a/init.el b/init.el index 8b62b88..80443a1 100644 --- a/init.el +++ b/init.el @@ -151,6 +151,7 @@ markdown ; writing docs for people to ignore ;;nim ; python + lisp at the speed of c nix ; I hereby declare "nix geht mehr!" + nu ;;ocaml ; an objective camel org ; organize your plain life in plain text ;;php ; perl's insecure younger brother diff --git a/modules/lang/nu/config.el b/modules/lang/nu/config.el new file mode 100644 index 0000000..3f72a36 --- /dev/null +++ b/modules/lang/nu/config.el @@ -0,0 +1,6 @@ +;;; lang/nu/config.el -*- lexical-binding: t; -*- + +(use-package! nushell-ts-mode + :init + (add-hook 'nushell-ts-mode-hook #'lsp! 'append)) +(use-package! nushell-ts-babel) diff --git a/modules/lang/nu/packages.el b/modules/lang/nu/packages.el new file mode 100644 index 0000000..521adb7 --- /dev/null +++ b/modules/lang/nu/packages.el @@ -0,0 +1,7 @@ +;; -*- no-byte-compile: t; -*- +;;; lang/nu/packages.el + +(package! nushell-ts-mode + :recipe (:host github :repo "herbertjones/nushell-ts-mode")) +(package! nushell-ts-babel + :recipe (:host github :repo "herbertjones/nushell-ts-babel"))