typescript bat syntax

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-02 10:17:24 +02:00
parent 98fec7c447
commit 3d669198e7
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -79,7 +79,12 @@ toplevel@{ moduleWithSystem, ... }: {
enable = true;
themes =
let
catppuccin = pkgs.fetchFromGitHub { owner = "catppuccin"; repo = "bat"; rev = "82e7ca555f805b53d2b377390e4ab38c20282e83"; sha256 = "sha256-/Ob9iCVyjJDBCXlss9KwFQTuxybmSSzYRBZxOT10PZg="; };
catppuccin = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "82e7ca555f805b53d2b377390e4ab38c20282e83";
sha256 = "sha256-/Ob9iCVyjJDBCXlss9KwFQTuxybmSSzYRBZxOT10PZg=";
};
in
{
catppuccin-mocha = { src = catppuccin; file = "themes/Catppuccin Mocha.tmTheme"; };
@ -87,6 +92,19 @@ toplevel@{ moduleWithSystem, ... }: {
catppuccin-frappe = { src = catppuccin; file = "themes/Catppuccin Frappe.tmTheme"; };
catppuccin-latte = { src = catppuccin; file = "themes/Catppuccin Latte.tmTheme"; };
};
syntaxes =
let
typescript = pkgs.fetchFromGitHub {
owner = "ivandimitrov8080";
repo = "TypeScript.sublime-syntax";
rev = "1bb4c27024379d560d19edac4121e3a5388a2d08";
sha256 = "sha256-rW2ioNzmGl/3tvHL0vVzpcTnvJ3u0ZTGbaCmVdl0akY=";
};
in
{
typescript = { src = typescript; file = "TypeScript.sublime-syntax"; };
typescriptreact = { src = typescript; file = "TypeScriptReact.sublime-syntax"; };
};
};
ssh.enable = true;
gpg.enable = true;