From 24f4cbc1ddc4c540b6d69c1cd9d66d60b06ccec1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 10 Oct 2024 10:09:57 +0200 Subject: tex: use tex-fmt with efm doesn't use the buffer but the file on disk currently, fix later --- .config/efm-langserver/config.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/efm-langserver') diff --git a/.config/efm-langserver/config.yaml b/.config/efm-langserver/config.yaml index 40031b0..baffb69 100644 --- a/.config/efm-langserver/config.yaml +++ b/.config/efm-langserver/config.yaml @@ -13,7 +13,11 @@ tools: sh-shfmt: &sh-shfmt format-command: 'shfmt -ci -s -bn -i 4 -sr' format-stdin: true + tex-fmt-formatter: &tex-fmt-formatter + format-command: 'tex-fmt --keep --tab 4 --print' languages: sh: - <<: *sh-shellcheck - <<: *sh-shfmt + tex: + - <<: *tex-fmt-formatter -- cgit v1.2.3-70-g09d2