tweak lua formatting options

This commit is contained in:
Moritz Böhme 2023-02-17 12:59:51 +01:00
parent ec9cb2fb3e
commit fe6af3b8f2
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -195,6 +195,15 @@ lspconfig.sumneko_lua.setup({
telemetry = { telemetry = {
enable = false, enable = false,
}, },
format = {
enable = true,
-- Put format options here
-- NOTE: the value should be STRING!!
defaultConfig = {
indent_style = "space",
indent_size = "2",
},
},
}, },
}, },
}) })