mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
languages: add biome support for formatting (#423)
This commit is contained in:
parent
3c4eced9d1
commit
e80520ddf3
4 changed files with 41 additions and 2 deletions
|
@ -95,6 +95,18 @@
|
|||
)
|
||||
'';
|
||||
};
|
||||
|
||||
biome = {
|
||||
package = pkgs.biome;
|
||||
nullConfig = ''
|
||||
table.insert(
|
||||
ls_sources,
|
||||
null_ls.builtins.formatting.biome.with({
|
||||
command = "${cfg.format.package}/bin/biome",
|
||||
})
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# TODO: specify packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue