|
|
@ -4,6 +4,7 @@ scope = "source.rust"
|
|
|
|
injection-regex = "rust"
|
|
|
|
injection-regex = "rust"
|
|
|
|
file-types = ["rs"]
|
|
|
|
file-types = ["rs"]
|
|
|
|
roots = []
|
|
|
|
roots = []
|
|
|
|
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
|
|
|
|
language-server = { command = "rust-analyzer" }
|
|
|
|
language-server = { command = "rust-analyzer" }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
@ -61,6 +62,7 @@ scope = "source.go"
|
|
|
|
injection-regex = "go"
|
|
|
|
injection-regex = "go"
|
|
|
|
file-types = ["go"]
|
|
|
|
file-types = ["go"]
|
|
|
|
roots = ["Gopkg.toml", "go.mod"]
|
|
|
|
roots = ["Gopkg.toml", "go.mod"]
|
|
|
|
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
|
|
|
|
language-server = { command = "gopls" }
|
|
|
|
language-server = { command = "gopls" }
|
|
|
|
# TODO: gopls needs utf-8 offsets?
|
|
|
|
# TODO: gopls needs utf-8 offsets?
|
|
|
|