Skip to content

Commit

Permalink
docs: Improve StyLua Lua formatter suggested settings
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter committed Feb 3, 2025
1 parent 45708d2 commit 02bd0a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/languages/lua.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
"-"
]
}
}
}
Expand Down

0 comments on commit 02bd0a9

Please sign in to comment.