summaryrefslogtreecommitdiffstats
path: root/.config/efm-langserver
diff options
context:
space:
mode:
authorYigit Sever2024-10-10 10:09:57 +0200
committerYigit Sever2024-10-10 10:09:57 +0200
commit24f4cbc1ddc4c540b6d69c1cd9d66d60b06ccec1 (patch)
treea8ac83e95ae60b1eb2a82d8ffeaa196d257026cf /.config/efm-langserver
parent457c5609f1c58825eb3f84765e6f5959e6acb6a8 (diff)
downloaddotfiles-24f4cbc1ddc4c540b6d69c1cd9d66d60b06ccec1.tar.gz
dotfiles-24f4cbc1ddc4c540b6d69c1cd9d66d60b06ccec1.tar.bz2
dotfiles-24f4cbc1ddc4c540b6d69c1cd9d66d60b06ccec1.zip
tex: use tex-fmt with efm
doesn't use the buffer but the file on disk currently, fix later
Diffstat (limited to '.config/efm-langserver')
-rw-r--r--.config/efm-langserver/config.yaml4
1 files changed, 4 insertions, 0 deletions
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:
13 sh-shfmt: &sh-shfmt 13 sh-shfmt: &sh-shfmt
14 format-command: 'shfmt -ci -s -bn -i 4 -sr' 14 format-command: 'shfmt -ci -s -bn -i 4 -sr'
15 format-stdin: true 15 format-stdin: true
16 tex-fmt-formatter: &tex-fmt-formatter
17 format-command: 'tex-fmt --keep --tab 4 --print'
16languages: 18languages:
17 sh: 19 sh:
18 - <<: *sh-shellcheck 20 - <<: *sh-shellcheck
19 - <<: *sh-shfmt 21 - <<: *sh-shfmt
22 tex:
23 - <<: *tex-fmt-formatter