Cleanup the home kakoune module, restore tree-sitter

This commit is contained in:
Natsu Kagami 2024-10-07 22:25:59 +02:00
parent 2a2cbc295f
commit 12dcbcb3f6
Signed by: nki
GPG key ID: 55A032EB38B49ADB
7 changed files with 58 additions and 694 deletions

View file

@ -1,9 +1,8 @@
{ callPackage, kakoune, kakoune-unwrapped, ... }:
let
lsp = callPackage ./lsp.nix { };
tree-sitter = callPackage ./tree-sitter { };
rc = (callPackage ./rc.nix {
prependRc = tree-sitter.rc;
# prependRc = tree-sitter.rc;
});
in
(kakoune.override {
@ -13,7 +12,7 @@ in
(callPackage ./kaktex { })
(callPackage ./faces.nix { })
rc
tree-sitter.plugin
# tree-sitter.plugin
lsp.plugin
];
}).overrideAttrs (attrs: {
@ -24,7 +23,6 @@ in
rm "$out/bin/kak"
makeWrapper "${kakoune-unwrapped}/bin/kak" "$out/bin/kak" \
--set KAKOUNE_RUNTIME "$out/share/kak" \
--suffix PATH ":" "${lsp.extraPaths}" \
--suffix PATH ":" "${tree-sitter.extraPaths}"
--suffix PATH ":" "${lsp.extraPaths}"
'';
})

View file

@ -5,6 +5,7 @@
# set global kts_sky "rgb:6aa622"
# Color scheme
colorscheme catppuccin-latte
set-face global module "%opt{sapphire}"
set global base "default"
# Set indentation guides