mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
modules/spellfiles: init
This commit is contained in:
parent
a3245848da
commit
420470dfde
7 changed files with 1015 additions and 0 deletions
|
@ -1,9 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
writeShellApplication,
|
||||
rust-analyzer-options,
|
||||
efmls-configs-sources,
|
||||
none-ls-builtins,
|
||||
lspconfig-servers,
|
||||
fetch-spellfiles,
|
||||
nixfmt-rfc-style,
|
||||
nodePackages,
|
||||
}:
|
||||
|
@ -49,6 +51,12 @@ writeShellApplication {
|
|||
echo "lspconfig servers"
|
||||
prettier --parser=json "${lspconfig-servers}" >"$generated_dir/lspconfig-servers.json"
|
||||
|
||||
echo "fetching spellfiles"
|
||||
${lib.getExe fetch-spellfiles} > "$generated_dir/spellfiles.json"
|
||||
prettier --parser=json --write "$generated_dir/spellfiles.json"
|
||||
|
||||
################################################################
|
||||
|
||||
if [ -n "$commit" ]; then
|
||||
cd "$generated_dir"
|
||||
git add .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue