diff options
-rw-r--r-- | .config/efm-langserver/config.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/efm-langserver/config.yaml b/.config/efm-langserver/config.yaml new file mode 100644 index 0000000..40031b0 --- /dev/null +++ b/.config/efm-langserver/config.yaml | |||
@@ -0,0 +1,19 @@ | |||
1 | version: 2 | ||
2 | root-markers: | ||
3 | - .git/ | ||
4 | lint-debounce: 1s | ||
5 | tools: | ||
6 | sh-shellcheck: &sh-shellcheck | ||
7 | lint-command: 'shellcheck -f gcc -x' | ||
8 | lint-source: 'shellcheck' | ||
9 | lint-formats: | ||
10 | - '%f:%l:%c: %trror: %m' | ||
11 | - '%f:%l:%c: %tarning: %m' | ||
12 | - '%f:%l:%c: %tote: %m' | ||
13 | sh-shfmt: &sh-shfmt | ||
14 | format-command: 'shfmt -ci -s -bn -i 4 -sr' | ||
15 | format-stdin: true | ||
16 | languages: | ||
17 | sh: | ||
18 | - <<: *sh-shellcheck | ||
19 | - <<: *sh-shfmt | ||