Golang uses tabs for indentation.
commit651d3dec83144896d2ae7a2a547b1c5c3807a6b3
authorBlaž Hrastnik <blaz@mxxn.io>
dateFri 23 Apr 2021, 18:55 (6 years ago)
parent77db359
languages.toml+1−1
@@ -53,7 +53,7 @@ roots = ["Gopkg.toml", "go.mod"]
5353
5454language-server = { command = "gopls" }
5555# TODO: gopls needs utf-8 offsets?
56−indent = { tab-width = 2, unit = " " }
56+indent = { tab-width = 4, unit = "\t" }
5757
5858[[language]]
5959name = "javascript"