mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
✨ Add some new packages and update Zed formatter config
This commit is contained in:
parent
df4b4c01d7
commit
8d739f8c4c
6 changed files with 49 additions and 43 deletions
|
@ -44,6 +44,16 @@ in {
|
|||
copilot = false;
|
||||
};
|
||||
|
||||
formatter = {
|
||||
external = {
|
||||
command = "alejandra";
|
||||
arguments = ["--quiet"];
|
||||
language = ["nix"];
|
||||
};
|
||||
};
|
||||
|
||||
format_on_save = "on";
|
||||
|
||||
### Language specific configurations
|
||||
languages = {
|
||||
### Nix language
|
||||
|
@ -51,17 +61,6 @@ in {
|
|||
language_servers = [ "nixd" "!nil" ];
|
||||
};
|
||||
};
|
||||
|
||||
### LSP configurations
|
||||
lsp = {
|
||||
nixd = {
|
||||
initialization_options = {
|
||||
formatting = {
|
||||
command = ["alejandra" "--quiet" "--"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraPackages = with pkgs; [ nixd ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue