From b061203715b85c7b4c636aa20ff2bfa469182e8e Mon Sep 17 00:00:00 2001 From: Jelle Spreeuwenberg Date: Sun, 26 Jul 2026 21:06:04 +0200 Subject: [PATCH] feat: add tailwindcss and fix oxfmt --- modules/capabilities/helix.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/capabilities/helix.nix b/modules/capabilities/helix.nix index 2419da1..c65c21f 100644 --- a/modules/capabilities/helix.nix +++ b/modules/capabilities/helix.nix @@ -44,6 +44,8 @@ package = inputs.helix.packages.${pkgs.stdenv.hostPlatform.system}.default; extraPackages = with pkgs; [ svelteLanguageServer + tailwindcss-language-server + nixd nixfmt oxfmt @@ -91,13 +93,18 @@ { name = "svelte"; formatter = { - command = "oxfmt"; - args = [ "--stdin-filepath=%{buffer_name}" ]; + command = "${pkgs.coreutils}/bin/env"; + args = [ + "NODE_PATH=%{workspace_directory}/node_modules" + "oxfmt" + "--stdin-filepath=%{buffer_name}" + ]; }; auto-format = true; language-servers = [ "scls" "svelteserver" + "tailwindcss-ls" ]; } {