summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMidnight Exigent2021-10-08 02:14:12 +0000
committerGitHub2021-10-08 02:14:12 +0000
commiteedcea7e6bdae7d18610ae8d035e7f732099e619 (patch)
tree9f016307c7550f69644133de6129b30f7e1e816d /languages.toml
parent9f27be429d0b4848a01876cd0eb192f2db8a830b (diff)
Allow `language.config` (in languages.toml) to be passed in as a toml object (#807)
* allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml14
1 files changed, 3 insertions, 11 deletions
diff --git a/languages.toml b/languages.toml
index e7d4075c..509100e7 100644
--- a/languages.toml
+++ b/languages.toml
@@ -6,19 +6,11 @@ file-types = ["rs"]
roots = []
auto-format = true
comment-token = "//"
-config = """
-{
- "cargo": {
- "loadOutDirsFromCheck": true
- },
- "procMacro": {
- "enable": false
- }
-}
-"""
-
language-server = { command = "rust-analyzer" }
indent = { tab-width = 4, unit = " " }
+[language.config]
+cargo = { loadOutDirsFromCheck = true }
+procMacro = { enable = false }
[[language]]
name = "toml"