Update .config/helix/languages.toml
This commit is contained in:
parent
b67d8844ee
commit
96dfd31f94
@ -4,9 +4,16 @@ command = "clippy"
|
|||||||
[language-server.rust-analyzer.config.cargo]
|
[language-server.rust-analyzer.config.cargo]
|
||||||
allFeatures = true
|
allFeatures = true
|
||||||
|
|
||||||
|
[language-server.rust-analyzer.buildScripts]
|
||||||
|
enable = true
|
||||||
|
|
||||||
[language-server.rust-analyzer.config.procMacro.ignored]
|
[language-server.rust-analyzer.config.procMacro.ignored]
|
||||||
|
async-trait = ["async_trait"]
|
||||||
mockall = ["automock"]
|
mockall = ["automock"]
|
||||||
mockall_double = ["double"]
|
mockall_double = ["double"]
|
||||||
|
automock = ["automock"]
|
||||||
|
double = ["double"]
|
||||||
|
leptos_macro = ["server"]
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "graphql"
|
name = "graphql"
|
||||||
@ -39,14 +46,3 @@ indent = { tab-width = 2, unit = " " }
|
|||||||
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
|
||||||
name = "tsx"
|
|
||||||
scope = "source.tsx"
|
|
||||||
injection-regex = "(tsx)" # |typescript
|
|
||||||
language-id = "typescriptreact"
|
|
||||||
file-types = ["tsx"]
|
|
||||||
language-servers = [ "typescript-language-server" ]
|
|
||||||
indent = { tab-width = 2, unit = " " }
|
|
||||||
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
|
||||||
auto-format = true
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user