diff --git a/snippets/kakoune.nix b/snippets/kakoune.nix index dc06ad6..a3c8834 100644 --- a/snippets/kakoune.nix +++ b/snippets/kakoune.nix @@ -25,12 +25,12 @@ commands = "set buffer filetype typst"; option = ".*\.typ"; } - # { - # # When the filetype=latex option is set in a buffer context (automatically), add a new hook to build the latex file on write - # name = "BufSetOption"; - # option = "filetype=latex"; - # commands = "hook buffer BufWritePost .* %{ texlab-build }"; - # } + { + # When the filetype=latex option is set in a buffer context (automatically), add a new hook to build the latex file on write + name = "BufSetOption"; + option = "filetype=latex"; + commands = "hook buffer BufWritePost .* %{ texlab-build }"; + } { name = "BufSetOption"; option = "filetype=markdown"; @@ -108,8 +108,8 @@ }; home.packages = with pkgs; [ kakoune-lsp ]; - xdg.configFile."kak-lsp/kak-lsp.toml".source = - ./kakoune/kak-lsp.toml; + # xdg.configFile."kak-lsp/kak-lsp.toml".source = + # ./kakoune/kak-lsp.toml; xdg.desktopEntries.kakoune = { name = "Kakoune";