docs: Improve StyLua Lua formatter suggested settings (#24144)
This commit is contained in:
@@ -59,7 +59,13 @@ Alternative you can use [StyLua](https://github.com/JohnnyMorganz/StyLua):
|
|||||||
"formatter": {
|
"formatter": {
|
||||||
"external": {
|
"external": {
|
||||||
"command": "stylua",
|
"command": "stylua",
|
||||||
"arguments": ["--syntax=Lua54", "-"]
|
"arguments": [
|
||||||
|
"--syntax=Lua54",
|
||||||
|
"--respect-ignores",
|
||||||
|
"--stdin-filepath",
|
||||||
|
"{buffer_path}",
|
||||||
|
"-"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user