summaryrefslogtreecommitdiffstats
path: root/.config/efm-langserver/config.yaml
blob: baffb69342b6a8f9498e11288fe1e03214660341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: 2
root-markers:
  - .git/
lint-debounce: 1s
tools:
  sh-shellcheck: &sh-shellcheck
    lint-command: 'shellcheck -f gcc -x'
    lint-source: 'shellcheck'
    lint-formats:
      - '%f:%l:%c: %trror: %m'
      - '%f:%l:%c: %tarning: %m'
      - '%f:%l:%c: %tote: %m'
  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