feat(nvim): prettypst formatting

This commit is contained in:
stitchy 2025-02-28 10:20:49 +00:00
parent 6ec283a1a7
commit 47bed4aec0
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 7 additions and 0 deletions

View file

@ -118,6 +118,12 @@ require("conform").setup({
javascript = { "prettier", }, javascript = { "prettier", },
python = { "black" }, python = { "black" },
C = { "clang-format"}, C = { "clang-format"},
typst = { "prettypst" }
},
formatters = {
prettypst = {
args = { "--use-std-in", "--use-std-out" }
}
}, },
format_on_save = { format_on_save = {
timeout_ms = 500, timeout_ms = 500,

View file

@ -24,6 +24,7 @@ let
"libnotify" "libnotify"
"mutt-wizard" "mutt-wizard"
"powertop" "powertop"
"prettypst"
"wl-clipboard" "wl-clipboard"
# temporary home manager things # temporary home manager things
"eww" "eww"