Skip to content

Commit

Permalink
Add xml lsp to helix
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 12, 2024
1 parent e842d4e commit 45c7792
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions modules/home-manager/server/cli/helix/languages/markup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,25 @@
# args = ["--plugin=${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml" "--parser" "toml"];
# };
}
{
name = "xml";
# auto-format = true;
# formatter = {
# command = "prettier";
# args = [
# "--parser"
# "yaml"
# ];
# };
language-servers = [ "lemminx" ];
}
];
language-server = {
vscode-json-languageserver = {
command = "vscode-json-languageserver";
command = lib.getExe pkgs.nodePackages.vscode-json-languageserver;
args = [ "--stdio" ];
};
lemminx.command = lib.getExe pkgs.lemminx;
};
};
extraPackages = with pkgs; [
Expand All @@ -57,7 +70,6 @@
yaml-language-server
nodePackages.prettier
nodePackages.prettier-plugin-toml
nodePackages.vscode-json-languageserver
];
};
};
Expand Down

0 comments on commit 45c7792

Please sign in to comment.