minimal: Add meson syntax highlighting for bat

This commit is contained in:
traxys 2023-10-23 12:16:21 +02:00
parent 4da048238f
commit 35ffbefec6
3 changed files with 30 additions and 1 deletions

17
flake.lock generated
View file

@ -447,6 +447,22 @@
"type": "github"
}
},
"meson-syntax": {
"flake": false,
"locked": {
"lastModified": 1691862289,
"narHash": "sha256-9ymNLS3JL0BJj4Md0Wrt13JkzAml0Bs0ROXW8Fwus20=",
"owner": "Monochrome-Sauce",
"repo": "sublime-meson",
"rev": "7a2f29c0f245863473f7521ec7c73b0309dcbf34",
"type": "github"
},
"original": {
"owner": "Monochrome-Sauce",
"repo": "sublime-meson",
"type": "github"
}
},
"mujmap": {
"inputs": {
"cargo2nix": "cargo2nix",
@ -1904,6 +1920,7 @@
"fast-syntax-highlighting": "fast-syntax-highlighting",
"home-manager": "home-manager",
"kabalist": "kabalist",
"meson-syntax": "meson-syntax",
"mujmap": "mujmap",
"naersk": "naersk_2",
"nix-alien": "nix-alien",

View file

@ -26,6 +26,10 @@
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
# Extra Package Sources
meson-syntax = {
url = "github:Monochrome-Sauce/sublime-meson";
flake = false;
};
simulationcraft = {
url = "github:simulationcraft/simc";
flake = false;

View file

@ -87,7 +87,15 @@
};
programs.home-manager.enable = true;
programs.bat.enable = true;
programs.bat = {
enable = true;
syntaxes = {
meson = {
src = inputs.meson-syntax;
file = "meson.sublime-syntax";
};
};
};
programs.zoxide.enable = true;
programs.git = {