old
 1{...}: {
 2  programs.helix.languages = {
 3    language = [
 4      {
 5        name = "astro";
 6        auto-format = true;
 7        indent = {
 8          tab-width = 2;
 9          unit = "  ";
10        };
11        language-servers = ["astro-ls" "tailwindcss-ls"];
12        formatter = {
13          command = "prettier";
14          args = ["--parser" "astro" "--stdin-filepath" "%{buffer_name}"];
15        };
16      }
17    ];
18    language-server = {
19      astro-ls = {
20        command = "astro-ls";
21        args = ["--stdio"];
22        config = {
23          typescript = {
24            tsdk = "node_modules/typescript/lib";
25            environment = "node";
26          };
27          contentIntellisense = true;
28        };
29      };
30    };
31  };
32}