tweak lua formatting options

dev-docs
Moritz Böhme 2023-02-17 12:59:51 +01:00
parent ec9cb2fb3e
commit fe6af3b8f2
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 9 additions and 0 deletions

View File

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