From e201b0ff1578ab4414eb9f6f552f691ae4e0d74e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 21 Jan 2024 04:24:00 -0600 Subject: [PATCH] feat(nvim): add formatter for typst --- dots/.config/nvim/lua/plugins/configs/formatter.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dots/.config/nvim/lua/plugins/configs/formatter.lua b/dots/.config/nvim/lua/plugins/configs/formatter.lua index c3c230db..69988d86 100644 --- a/dots/.config/nvim/lua/plugins/configs/formatter.lua +++ b/dots/.config/nvim/lua/plugins/configs/formatter.lua @@ -50,6 +50,12 @@ return { stdin = true, } end, + typst = function() + return { + exe = "typstfmt", + stdin = true + } + end }, } end,