mirror of
https://github.com/Ascyii/typstar.git
synced 2026-03-02 01:22:43 +01:00
style: format nix code
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -6,7 +6,8 @@
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
outputs =
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-parts,
|
||||
@@ -19,7 +20,9 @@
|
||||
"aarch64-darwin"
|
||||
];
|
||||
|
||||
perSystem = {system, ...}: let
|
||||
perSystem =
|
||||
{ system, ... }:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
typstar = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "typstar";
|
||||
@@ -29,10 +32,12 @@
|
||||
pkgs.vimPlugins.nvim-treesitter-parsers.typst
|
||||
];
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
default = typstar;
|
||||
nvim = let
|
||||
nvim =
|
||||
let
|
||||
config = pkgs.neovimUtils.makeNeovimConfig {
|
||||
customRC = ''
|
||||
lua << EOF
|
||||
|
||||
Reference in New Issue
Block a user