feat: add explicit references to tinymist and websocat for typst-preview

This commit is contained in:
Youwen Wu 2024-10-07 13:17:11 -07:00
parent dce298154a
commit 7bd4bbb0cb
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -1,10 +1,18 @@
# Manual setup for some plugins # Manual setup for some plugins
{ pkgs, ... }:
{ {
extraConfigLua = '' extraConfigLua = ''
require("telescope").load_extension("yank_history") require("telescope").load_extension("yank_history")
require("telescope").load_extension("ht") require("telescope").load_extension("ht")
vim.diagnostic.config({ virtual_lines = false }) vim.diagnostic.config({ virtual_lines = false })
require 'typst-preview'.setup {
dependencies_bin = {
['typst-preview'] = ${pkgs.tinymist},
['websocat'] = ${pkgs.websocat}
}
}
require("lsp-progress").setup({ require("lsp-progress").setup({
client_format = function(client_name, spinner, series_messages) client_format = function(client_name, spinner, series_messages)
if #series_messages == 0 then if #series_messages == 0 then