aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 93cd653e..b93bcb8b 100644
--- a/languages.toml
+++ b/languages.toml
@@ -4,6 +4,7 @@ scope = "source.rust"
injection-regex = "rust"
file-types = ["rs"]
roots = []
+auto-format = true
language-server = { command = "rust-analyzer" }
indent = { tab-width = 4, unit = " " }
@@ -61,6 +62,7 @@ scope = "source.go"
injection-regex = "go"
file-types = ["go"]
roots = ["Gopkg.toml", "go.mod"]
+auto-format = true
language-server = { command = "gopls" }
# TODO: gopls needs utf-8 offsets?