aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/stylua/out.lua
blob: c1ea1d9a8c3e34705bb1e2409db8c57e624eeb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
too_many_spaces = true

-- stylua: ignore
local function foo    ()
   return 1,
      2,
      3
end

local many, vars = function()
	return true
end

local function what_indent()
	noindent = true
	if noindent then
		x = false
	end
	return x
end

local y = "Double quotes are used"