docs: Improve StyLua Lua formatter suggested settings (#24144)

This commit is contained in:
Peter Tripp 2025-02-10 22:12:01 -05:00 committed by GitHub
parent cf9661a56b
commit 2e7bb11b7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,13 @@ Alternative you can use [StyLua](https://github.com/JohnnyMorganz/StyLua):
"formatter": {
"external": {
"command": "stylua",
"arguments": ["--syntax=Lua54", "-"]
"arguments": [
"--syntax=Lua54",
"--respect-ignores",
"--stdin-filepath",
"{buffer_path}",
"-"
]
}
}
}