biome w zed
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
"json5"
|
||||
"html-jinja"
|
||||
"deputy"
|
||||
"biome"
|
||||
];
|
||||
|
||||
extraPackages = with pkgs; [ biome ];
|
||||
@@ -55,6 +56,62 @@
|
||||
YAML = {
|
||||
tab_size = 2;
|
||||
};
|
||||
JavaScript = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
TypeScript = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
Astro = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
"Vue.js" = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
JSON = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
JSONC = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
CSS = {
|
||||
formatter.language_server.name = "biome";
|
||||
code_actions_on_format = {
|
||||
"source.fixAll.biome" = true;
|
||||
"source.organizeImports.biome" = true;
|
||||
};
|
||||
tab_size = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user