1
1
[[language ]]
2
2
name = " toml"
3
+ # https://github.com/tamasfe/taplo/issues/580#issuecomment-2004174721
4
+ roots = [" ." ]
3
5
formatter = { command = " taplo" , args = [" fmt" , " -" ] }
4
6
auto-format = true
5
7
6
8
[[language ]]
7
9
name = " json"
8
10
indent = { tab-width = 3 , unit = " \t " }
11
+ # I don't like redundant indent
9
12
auto-format = false
10
13
11
14
[language-server .vscode-json-language-server .config ]
@@ -15,13 +18,24 @@ validate.enable = true
15
18
format.enable = true
16
19
keepLines.enable = true
17
20
21
+ # why no ESL config?
22
+ # https://github.com/helix-editor/helix/pull/11315
23
+
18
24
[[language ]]
19
25
name = " javascript"
26
+ language-servers = [
27
+ " typescript-language-server" ,
28
+ " vscode-eslint-language-server" ,
29
+ ]
20
30
indent = { tab-width = 4 , unit = " \t " }
21
31
auto-format = true
22
32
23
33
[[language ]]
24
34
name = " typescript"
35
+ language-servers = [
36
+ " typescript-language-server" ,
37
+ " vscode-eslint-language-server" ,
38
+ ]
25
39
indent = { tab-width = 4 , unit = " \t " }
26
40
auto-format = true
27
41
@@ -55,7 +69,7 @@ name = "bash" # um, actually 🤓,
55
69
# the version of POSIX-sh which is widely used today is often called "Bash",
56
70
# and many of its users are not aware that it is basically the POSIX-sh.
57
71
#
58
- # There really is a Bash, and some people are using it,
72
+ # There really is a Bash, and most people are using it,
59
73
# but it is just one shell among many.
60
74
indent = { tab-width = 4 , unit = " \t " }
61
75
0 commit comments