Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collapse_simple_statement for goto #618

Closed
ttytm opened this issue Nov 6, 2022 · 0 comments · Fixed by #631
Closed

collapse_simple_statement for goto #618

ttytm opened this issue Nov 6, 2022 · 0 comments · Fixed by #631
Labels
enhancement New feature or request
Milestone

Comments

@ttytm
Copy link

ttytm commented Nov 6, 2022

using collapse_simple_statement = "Always":

	-- won't collapse
	if key == "s" then
		goto continue
	end
	-- on the other hand something like this does collapse
	local modes = { "n", "v" }
	if key == "p" then modes = { "n" } end
	-- ...
@JohnnyMorganz JohnnyMorganz added the enhancement New feature or request label Nov 6, 2022
@JohnnyMorganz JohnnyMorganz added this to the 0.16 milestone Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants