plugin-lua icon indicating copy to clipboard operation
plugin-lua copied to clipboard

When block string is the only argument to a call expression, it should hug

Open SpiralP opened this issue 7 years ago • 0 comments

current output

	assert(
		context:ReturnBabel(
			[[
				fetch("asset://garrysmod/data/a.txt")
				.then((response) => response.text())
				.then(a => console.log(a))
				.catch(a => console.warn(a))
			]]
		):await()
	)

expected output

	assert(
		context:ReturnBabel([[
				fetch("asset://garrysmod/data/a.txt")
				.then((response) => response.text())
				.then(a => console.log(a))
				.catch(a => console.warn(a))
			]]):await()
	)

SpiralP avatar Jul 31 '18 06:07 SpiralP