tweak lua formatting options
This commit is contained in:
parent
ec9cb2fb3e
commit
fe6af3b8f2
1 changed files with 9 additions and 0 deletions
|
@ -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",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue