[new] devel/stylua 0.18.2

2023-10-18 Thread Laurent Cheylus
Hi, proposal to import devel/stylua version 0.18.2 StyLua is an opinionated Lua code formatter written in Rust => https://github.com/JohnnyMorganz/StyLua I'm using this tool to format my Lua code, particulary my Neovim configuration/plugins. - Create initial port devel/stylua with module deve

Re: new: devel/stylua

2023-09-07 Thread Ashlen
On Thu, 17 Aug 2023 20:21 +0200, Omar Polo wrote: > don't feel strongly about SEPARATE_BUILD but I'd propend to skip it. > It's ok op@ to import either way. > > Thanks! I'm OK with skipping it. :) Bumping this and reattaching the tarball you sent in response to mine. stylua.tar.gz Description:

Re: new: devel/stylua

2023-08-17 Thread Omar Polo
On 2023/08/17 09:29:04 -0600, Ashlen wrote: > On Thu, 17 Aug 2023 10:23 +0200, Omar Polo wrote: > > - typo on SEPARATE_BUILD (should be SEPARATED_BUILD) > > I checked and SEPARATE_BUILD is right. I just rebuilt StyLua with > SEPARATE_BUILD to make sure that it works, so I think it should be > ke

Re: new: devel/stylua

2023-08-17 Thread Ashlen
On Thu, 17 Aug 2023 10:23 +0200, Omar Polo wrote: > Some tweaks for the makefile: > > - the indentation of the value is off (you're not using tab multiples >of 8 columns?) I guess I forgot to `:set tabstop=8 shiftwidth=8`. Usually I prefer values of 4 and adjust those manually as needed. I'l

Re: new: devel/stylua

2023-08-17 Thread Omar Polo
On 2023/08/16 23:21:49 -0600, Ashlen wrote: > Description: > > """ > An opinionated code formatter for Lua 5.1, 5.2, 5.3, 5.4 and Luau, > built using full-moon. StyLua is inspired by the likes of prettier, > it parses your Lua codebase, and prints it back out from scratch, > enforcing a consisten

new: devel/stylua

2023-08-16 Thread Ashlen
Description: """ An opinionated code formatter for Lua 5.1, 5.2, 5.3, 5.4 and Luau, built using full-moon. StyLua is inspired by the likes of prettier, it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style. StyLua mainly follows the Roblox Lua Style G

[new] devel/stylua 0.16.0

2023-01-27 Thread Laurent Cheylus
Hi, proposal to import StyLua v0.16.0 as devel/stylua StyLua (https://github.com/JohnnyMorganz/StyLua) is an opinionated code formatter for Lua 5.1, 5.2, 5.3, 5.4 and Luau, built using full-moon (a lossless Lua parser written in Rust). Build and tests OK on amd64. Tests of the tool with Lua