From 92bcaec51e951d42f9bdcc4deb1c9c846a88d96c Mon Sep 17 00:00:00 2001 From: daimond113 Date: Wed, 23 Apr 2025 19:29:10 +0200 Subject: [PATCH] chore(bins): sync stylua README --- bins/stylua/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bins/stylua/README.md b/bins/stylua/README.md index 931e203..8d10f0b 100644 --- a/bins/stylua/README.md +++ b/bins/stylua/README.md @@ -7,7 +7,7 @@ -A deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and [Luau](https://luau.org/), built using [full-moon](https://github.com/Kampfkarren/full-moon). +A deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT, [Luau](https://luau.org/) and [CfxLua/FiveM Lua](https://docs.fivem.net/docs/scripting-manual/runtimes/lua/), built using [full-moon](https://github.com/Kampfkarren/full-moon). StyLua is inspired by the likes of [prettier](https://github.com/prettier/prettier), it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style. @@ -285,7 +285,7 @@ StyLua only offers the following options: | Option | Default | Description | | ---------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `syntax` | `All` | Specify a disambiguation for the style of Lua syntax being formatted. Possible options: `All` (default), `Lua51`, `Lua52`, `Lua53`, `Lua54`, `LuaJIT`, `Luau` | +| `syntax` | `All` | Specify a disambiguation for the style of Lua syntax being formatted. Possible options: `All` (default), `Lua51`, `Lua52`, `Lua53`, `Lua54`, `LuaJIT`, `Luau`, `CfxLua` | | `column_width` | `120` | Approximate line length for printing. Used as a guide for line wrapping - this is not a hard requirement: lines may fall under or over the limit. | | `line_endings` | `Unix` | Line endings type. Possible options: `Unix` (LF) or `Windows` (CRLF) | | `indent_type` | `Tabs` | Indent type. Possible options: `Tabs` or `Spaces` |