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

auto-indented spaces before end aren't removed #79

Open
artfwo opened this issue May 22, 2018 · 1 comment
Open

auto-indented spaces before end aren't removed #79

artfwo opened this issue May 22, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@artfwo
Copy link
Member

artfwo commented May 22, 2018

having a minor problem with the editor: when i start to type a block of code (an if statement), newline after then is indented. typing end on a next line doesn't remove the indentation though. can be reproduced by typing the following snippet:

if a then
  end
@pq pq added the enhancement New feature or request label May 22, 2018
@pq
Copy link
Collaborator

pq commented May 22, 2018

👍 i've been annoyed by this too.

i'm not sure there's an easy fix but i'll look; most likely the key to fixing this is to hack our own lua mode (#78) since that's where indent-level is set

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

No branches or pull requests

2 participants