-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlanguages.toml
More file actions
90 lines (81 loc) · 2.19 KB
/
languages.toml
File metadata and controls
90 lines (81 loc) · 2.19 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[[language]]
name = "rust"
scope = "source.rust"
injection-regex = "rust"
file-types = ["rs"]
roots = ["Cargo.toml", "Cargo.lock"]
auto-format = true
comment-token = "//"
language-server = { command = "rust-analyzer" }
indent = { tab-width = 4, unit = " " }
[language.auto-pairs]
'(' = ")"
'{' = '}'
'[' = ']'
'"' = '"'
'`' = '`'
[language.config]
inlayHints.bindingModeHints.enable = true
inlayHints.closingBraceHints.minLines = 10
inlayHints.closureReturnTypeHints.enable = "with_block"
inlayHints.discriminantHints.enable = "fieldless"
inlayHints.lifetimeElisionHints.enable = "skip_trivial"
inlayHints.typeHints.hideClosureInitialization = false
inlayHints.typeHints.hideNamedConstructor = true
inlayHints.typeHints.chainingHints.enable = true
inlayHints.typeHints.maxLength = 20
semanticHighlighting.punctuation.enable = true
semanticHighlighting.operator.specialization.enable = true
typing.autoClosingAngleBrackets.enable = true
check.command = "clippy"
rustfmt.extraArgs = []
[[language]]
name = "typescript"
scope = "source.ts"
injection-regex = "typescript"
file-types = ["ts", "tsx", "deno"]
roots = ["package.json", "tsconfig.json", "jsconfig.json", "deno.json"]
auto-format = true
comment-token = "//"
language-server = { command = "deno", args = ["lsp"] }
[languge.config]
name = "javascript"
scope = "source.js"
injection-regex = "javascript"
file-types = ["js", "jsx", "mjs", "cjs"]
roots = ["package.json", "jsconfig.json"]
auto-format = true
comment-token = "//"
[language.config]
inlayHints.parameterHints.enable = false
[[language]]
name = "clojure"
scope = "source.clojure"
injection-regex = "clojure"
file-types = ["clj", "cljs", "cljc", "aria"]
roots = ["deps.edn", "shadow-cljs.edn", "build.aria"]
auto-format = true
comment-token = ";"
[[language]]
name = "elixir"
scope = "source.elixir"
injection-regex = "elixir"
file-types = ["elx", "pine", "tsl"]
roots = ["main.pine", "pine-build.json"]
auto-format = false
comment-token = "#"
[[language]]
name = "ejs"
scope = "source.ejs"
injection-regex = "ejs"
file-types = ["ejs"]
roots = []
auto-format = true
comment-token = "<%#"
language-server = { command = "ejs-language-server" }
[language.auto-pairs]
'<' = ">"
'[' = "]"
'{' = "}"
'"' = '"'
"'" = "'"