A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/JohnnyMorganz/StyLua/issues/778 below:

Wrong comma movement with comment block · Issue #778 · JohnnyMorganz/StyLua · GitHub

function fun(
	a --[[ a commnet]],
	b
)
end

local tab = {
	a = 1 --[[@as integer ]],
	b = 1,
}

Actual:

function fun(
	a, --[[ a commnet]]
	b
)
end

local tab = {
	a = 1, --[[@as integer ]]
	b = 1,
}

Expected: nothing to change

At least this prevents AS annotations from working in lua ls


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4