mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 11:05:08 +02:00
15 lines
459 B
Lua
15 lines
459 B
Lua
require"lspconfig".efm.setup {
|
|
init_options = {documentFormatting = true},
|
|
filetypes = {"lua"},
|
|
settings = {
|
|
rootMarkers = {".git/"},
|
|
languages = {
|
|
lua = {
|
|
{
|
|
formatCommand = "lua-format -i --no-keep-simple-function-one-line --no-break-after-operator --column-limit=150 --break-after-table-lb",
|
|
formatStdin = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|