style: format nix code

This commit is contained in:
arne314
2025-11-04 22:51:56 +01:00
parent d6ba115ac7
commit 6cb071a954

View File

@@ -6,7 +6,8 @@
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
}; };
outputs = inputs @ { outputs =
inputs@{
self, self,
nixpkgs, nixpkgs,
flake-parts, flake-parts,
@@ -19,7 +20,9 @@
"aarch64-darwin" "aarch64-darwin"
]; ];
perSystem = {system, ...}: let perSystem =
{ system, ... }:
let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
typstar = pkgs.vimUtils.buildVimPlugin { typstar = pkgs.vimUtils.buildVimPlugin {
name = "typstar"; name = "typstar";
@@ -29,10 +32,12 @@
pkgs.vimPlugins.nvim-treesitter-parsers.typst pkgs.vimPlugins.nvim-treesitter-parsers.typst
]; ];
}; };
in { in
{
packages = { packages = {
default = typstar; default = typstar;
nvim = let nvim =
let
config = pkgs.neovimUtils.makeNeovimConfig { config = pkgs.neovimUtils.makeNeovimConfig {
customRC = '' customRC = ''
lua << EOF lua << EOF