Golang uses tabs for indentation.

imgbot
Blaž Hrastnik 4 years ago
parent 77db3599ba
commit 651d3dec83

@ -53,7 +53,7 @@ roots = ["Gopkg.toml", "go.mod"]
language-server = { command = "gopls" }
# TODO: gopls needs utf-8 offsets?
indent = { tab-width = 2, unit = " " }
indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "javascript"

Loading…
Cancel
Save