Big tweaks for kakoune
Adds kak-tree-sitter, and catppuccin theme. Make them work together.
This commit is contained in:
parent
5a9dbf660b
commit
da7cb27c04
7 changed files with 220 additions and 59 deletions
33
packages/common/kak-tree-sitter.nix
Normal file
33
packages/common/kak-tree-sitter.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, symlinkJoin, clang, git, ... }:
|
||||
let
|
||||
src = fetchFromGitHub {
|
||||
owner = "phaazon";
|
||||
repo = "kak-tree-sitter";
|
||||
rev = "fcc4ec36385ee5ce1378dae1b3eca4288619ff0d";
|
||||
sha256 = "sha256-a2EBTe6SucxHHMhElhnvyf3b6AOj5CyhHE7RHVx/Ulc=";
|
||||
};
|
||||
|
||||
kak-tree-sitter = rustPlatform.buildRustPackage rec {
|
||||
inherit src;
|
||||
pname = "kak-tree-sitter";
|
||||
version = "0.3.0";
|
||||
cargoSha256 = "sha256-eDkIN7uzy2euywsjm3152R36B181Jj9KqnHsFDjyxhI=";
|
||||
cargoBuildOptions = [ "--package" "kak-tree-sitter" ];
|
||||
};
|
||||
|
||||
ktsctl = rustPlatform.buildRustPackage rec {
|
||||
inherit src;
|
||||
name = "ktsctl";
|
||||
version = "0.2.0";
|
||||
cargoSha256 = "sha256-k16nuC50n9TSiGdkzP58gr6zpFR/Jh21Bw33SRWRi8U=";
|
||||
|
||||
cargoBuildOptions = [ "--package" "ktsctl" ];
|
||||
|
||||
buildInputs = [ clang git ];
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "kak-tree-sitter";
|
||||
paths = [ kak-tree-sitter ktsctl ];
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue