-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.efm-langserver.yaml
60 lines (51 loc) · 1.16 KB
/
.efm-langserver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
version: 2
root-markers:
- .bzr/
- .git
- .git/
- .hg/
- .svn/
- CVS/
- RCS/
- SCCS/
- _darcs/
lint-debounce: 1s
commands:
- title: Editor (nvim)
os: linux
command: nvim
arguments:
- "${FILENAME}"
- title: Open (system default)
os: linux
command: xdg-open
arguments:
- "${FILENAME}"
tools:
json-jq: &json-jq
lint-command: "jq ."
lint-ignore-exit-code: true
json-fixjson: &json-fixjson
format-command: "fixjson"
mardown-prettier: &markdown-prettier
format-command: "prettier --parser markdown --prose-wrap always"
yaml-lint: &yaml-lint
lint-command: "yamllint -f parsable -"
lint-stdin: true
lint-ignore-exit-code: true
# format-command: "yamlfmt -formatter
# indent=2,include_document_start=true,retain_line_breaks=true -in"
# format-stdin: true
yaml-prettier: &yaml-prettier
format-command: "prettier --parser yaml --prose-wrap always"
format-stdin: true
languages:
json:
- !!merge <<: *json-jq
- !!merge <<: *json-fixjson
markdown:
- !!merge <<: *markdown-prettier
yaml:
- !!merge <<: *yaml-lint
# - !!merge <<: *yaml-prettier