docs: Improve StyLua Lua formatter suggested settings (#24144)
This commit is contained in:
parent
cf9661a56b
commit
2e7bb11b7d
1 changed files with 7 additions and 1 deletions
|
@ -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}",
|
||||||
|
"-"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue