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.syntaxesAdditional 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.themesAdditional 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:
|