Remoed nuxt helix configuration

This commit is contained in:
xeovalyte 2025-01-13 23:21:05 +01:00
parent bfc2c002b1
commit 6033709dea
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
2 changed files with 1 additions and 46 deletions

View File

@ -89,7 +89,7 @@
modules = [ modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/laptop/home.nix ./hosts/ti-clt-lpt01/home.nix
]; ];
}; };

View File

@ -24,12 +24,6 @@ in {
unstable.tectonic unstable.tectonic
unstable.texlab unstable.texlab
# Nuxt development
unstable.typescript-language-server
unstable.vue-language-server
unstable.typescript
unstable.nodePackages.prettier
dprint dprint
]; ];
@ -55,25 +49,6 @@ in {
}; };
}; };
languages = { languages = {
# Nuxt
language-server.typescript-language-server.config.plugins = [
{
name = "@vue/typescript-plugin";
location = "vue-language-server";
languages = [ "vue" ];
}
];
language-server.vue-language-server = {
command = "vue-language-server";
args = [ "--stdio" ];
config = {
typescript = {
tsdk = "tsc";
};
};
};
# Rust # Rust
language-server.rust-analyzer.config = { language-server.rust-analyzer.config = {
cargo = { cargo = {
@ -122,30 +97,10 @@ in {
}; };
language = [ language = [
{
name = "vue";
auto-format = true;
formatter = {
command = "prettier";
args = [ "--parser" "vue" ];
};
scope = "text.html.vue";
roots = ["package.json"];
injection-regex = "vue";
language-servers = [ "typescript-language-server" "vuels" ];
}
{ {
name = "verilog"; name = "verilog";
language-servers = [ "svls" ]; language-servers = [ "svls" ];
} }
{
name = "html";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
}
{
name = "css";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
}
{ {
name = "markdown"; name = "markdown";
auto-format = true; auto-format = true;