From 7bd4bbb0cb3a9bdac37bb69227ca1a3628272b50 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 7 Oct 2024 13:17:11 -0700 Subject: [PATCH] feat: add explicit references to tinymist and websocat for typst-preview --- config/plugins/setup.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/plugins/setup.nix b/config/plugins/setup.nix index ae92177..a34832b 100644 --- a/config/plugins/setup.nix +++ b/config/plugins/setup.nix @@ -1,10 +1,18 @@ # Manual setup for some plugins +{ pkgs, ... }: { extraConfigLua = '' require("telescope").load_extension("yank_history") require("telescope").load_extension("ht") vim.diagnostic.config({ virtual_lines = false }) + require 'typst-preview'.setup { + dependencies_bin = { + ['typst-preview'] = ${pkgs.tinymist}, + ['websocat'] = ${pkgs.websocat} + } + } + require("lsp-progress").setup({ client_format = function(client_name, spinner, series_messages) if #series_messages == 0 then