You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- This is a comment beforetypeFoo=--[[CommentbeforeBar]]Bar<--[[BeforeX]]X, --[[AfterX]]--[[BeforeY]]Y, --[[AfterY]]--[[BeforeZ]]Z--[[AfterZ]]>-- This is a comment after
typeFoo<T=--[[leading]]string--[[trailing]]>= { baz: T }
----------------typeBar<T--[[Trailingcomment]]>= {}
------------------- This is a comment beforetypeFoo=--[[CommentbeforeBar]]Bar<--[[BeforeX]]X, --[[AfterX]]--[[BeforeY]]Y, --[[AfterY]]--[[BeforeZ]]Z--[[AfterZ]]>-- This is a comment after-------------------typeOffsetEnum= { [string]: number }
localOffsetEnum=
{
aValue=10,
anotherValue=11,
yetAnotherValue=12,
reset=0,
postReset=1,
}
Results after the second and any consecutive run
typeFoo<T=--[[leading]]string--[[trailing]]>= { baz: T }
----------------typeBar<T--[[Trailingcomment]]>= {}
------------------- This is a comment beforetypeFoo=--[[CommentbeforeBar]]Bar<--[[BeforeX]]X, --[[AfterX]]--[[BeforeY]]Y, --[[AfterY]]--[[BeforeZ]]Z--[[AfterZ]]>-- This is a comment after-------------------typeOffsetEnum= { [string]: number }
localOffsetEnum= {
aValue=10,
anotherValue=11,
yetAnotherValue=12,
reset=0,
postReset=1,
}
The text was updated successfully, but these errors were encountered:
All of the examples are run wth the following configuration:
StyLua version:
13.0.0
.stylua.toml
file:The following examples require 2 runs of StyLua to produce proper (and stable) results
Results after the first run
Results after the second and any consecutive run
The text was updated successfully, but these errors were encountered: