From cb3aa4f7fe83442bfc1f89dffa642ea3cccfe14f Mon Sep 17 00:00:00 2001
From: rycee
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:
|