nix-home/home/kakoune/kaktex.nix

15 lines
298 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
{
# Source kaktex whenever we have a tex file
programs.my-kakoune.rc = ''
hook global WinSetOption filetype=(tex|latex) %{
2022-01-12 23:17:05 +00:00
hook window WinDisplay '.*' %{
eval %sh{
2024-06-23 15:40:07 +00:00
${./kaktex} set $kak_client $kak_session
}
2022-01-12 23:17:05 +00:00
}
}
'';
}