diff --git a/kakoune.nix b/kakoune.nix index f30eb4d..a1a5cdd 100644 --- a/kakoune.nix +++ b/kakoune.nix @@ -3,13 +3,12 @@ with pkgs; let - myKakoune = - let - config = writeTextFile (rec { - name = "kakrc.kak"; + config = writeTextFile (rec { name = "kakrc.kak"; destination = "/share/kak/autoload/${name}"; text = '' - + hook global KakBegin .* %{ + colorscheme colors + } ''; }); lsp-config = writeTextFile (rec { @@ -129,14 +128,13 @@ let postBuild = '' - wrapProgram $out/bin/kak-lsp --add-flags "--config $out/shhare/kak-lsp/kak-lsp.toml" + wrapProgram $out/bin/kak-lsp --add-flags "--config $out/share/kak-lsp/kak-lsp.toml" ''; }; - in - kakoune.override { - plugins = with kakounePlugins; [ config parinfer-rust lsp colors ]; + myKakoune = kakoune.override { + plugins = with kakounePlugins; [ config lsp colors ]; }; in {