8000 runtime(vim): Improve the indentation algorithm for "enum"s by zzzyxwvut · Pull Request #16310 · vim/vim · GitHub
[go: up one dir, main page]

Skip to content

runtime(vim): Improve the indentation algorithm for "enum"s #16310

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zzzyxwvut
Copy link
Contributor
  • Do not look for endenum when enum cannot be found.
  • Reject the current line for the related indentation if it
    contains enum or endenum.
  • Combine all the blanks between export and enum in the
    search pattern.
  • Consistently use getcurpos().

- Do not look for "endenum" when "enum" cannot be found.
- Reject the current line for the related indentation if it
  contains "enum" or "endenum".
- Combine all the blanks between "export" and "enum" in the
  search pattern.
- Consistently use getcurpos().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0