From 0757c2a0abbac1d8fda1e51d964327cd62b1db4a Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 28 Mar 2024 23:08:25 +0900 Subject: feat(packs): add typst-preview --- fnl/nvrc/pack.fnl | 2 ++ fnl/nvrc/packs/typst-preview.fnl | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 fnl/nvrc/packs/typst-preview.fnl (limited to 'fnl/nvrc') diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index cf04ec7..87852a5 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -22,6 +22,8 @@ :dependencies [(pack :nvim-lua/plenary.nvim)]}) (pack! :p00f/clangd_extensions.nvim {:req :clangd :ft [:c :cpp :objc :objcpp]}) +(pack! :chomosuke/typst-preview.nvim {:req :typst-preview :ft :typst :version :0.1.* + :build #(. ((require :typst-preview) :update))}) (pack! :mfussenegger/nvim-dap {:req :dap :event :VeryLazy :dependencies [(pack :nvim-lua/plenary.nvim) diff --git a/fnl/nvrc/packs/typst-preview.fnl b/fnl/nvrc/packs/typst-preview.fnl new file mode 100644 index 0000000..e7cb00e --- /dev/null +++ b/fnl/nvrc/packs/typst-preview.fnl @@ -0,0 +1,7 @@ +(local {: setup} (require :typst-preview)) + +(setup { + ; Use binaries installed on system + :dependencies_bin { + :typst-preview :typst-preview + :websocat :websocat}}) -- cgit 1.4.1