From cb3aa4f7fe83442bfc1f89dffa642ea3cccfe14f Mon Sep 17 00:00:00 2001 From: rycee Date: Fri, 6 Oct 2023 21:35:24 +0000 Subject: [PATCH] deploy: 44635279a0dfca43d2b980422f295def1aca0c08 --- options.html | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/options.html b/options.html index 252ffbe53..3138e5ea1 100644 --- a/options.html +++ b/options.html @@ -3258,27 +3258,33 @@ list of package

Default: with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];

Declared by:

<home-manager/modules/programs/bat.nix>
programs.bat.syntaxes

Additional syntaxes to provide.

Type: -attribute set of strings concatenated with “\n”

Default: +attribute set of (strings concatenated with “\n” or (submodule))

Default: { }

Example:

{
-  syntaxes.gleam = builtins.readFile (pkgs.fetchFromGitHub {
-    owner = "molnarmark";
-    repo = "sublime-gleam";
-    rev = "2e761cdb1a87539d827987f997a20a35efd68aa9";
-    hash = "sha256-Zj2DKTcO1t9g18qsNKtpHKElbRSc9nBRE2QBzRn9+qs=";
-  } + "/syntax/gleam.sublime-syntax");
+  gleam = {
+    src = pkgs.fetchFromGitHub {
+      owner = "molnarmark";
+      repo = "sublime-gleam";
+      rev = "2e761cdb1a87539d827987f997a20a35efd68aa9";
+      hash = "sha256-Zj2DKTcO1t9g18qsNKtpHKElbRSc9nBRE2QBzRn9+qs=";
+    };
+    file = "syntax/gleam.sublime-syntax";
+  };
 }
 
 

Declared by:

<home-manager/modules/programs/bat.nix>
programs.bat.themes

Additional themes to provide.

Type: -attribute set of strings concatenated with “\n”

Default: +attribute set of (strings concatenated with “\n” or (submodule))

Default: { }

Example:

{
-  dracula = builtins.readFile (pkgs.fetchFromGitHub {
-    owner = "dracula";
-    repo = "sublime"; # Bat uses sublime syntax for its themes
-    rev = "26c57ec282abcaa76e57e055f38432bd827ac34e";
-    sha256 = "019hfl4zbn4vm4154hh3bwk6hm7bdxbr1hdww83nabxwjn99ndhv";
-  } + "/Dracula.tmTheme");
+  dracula = {
+    src = pkgs.fetchFromGitHub {
+      owner = "dracula";
+      repo = "sublime"; # Bat uses sublime syntax for its themes
+      rev = "26c57ec282abcaa76e57e055f38432bd827ac34e";
+      sha256 = "019hfl4zbn4vm4154hh3bwk6hm7bdxbr1hdww83nabxwjn99ndhv";
+    };
+    file = "Dracula.tmTheme";
+  };
 }
 
 

Declared by: