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

Use mode-* to set var require-final-newline #26

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

Conversation

lukesanantonio
Copy link

This follows the documentation of mode-require-final-newline that says the local value of require-final-newline should be set to the value of the former (mode-require-final-newline). Another important thing to mention is that this will fix the issue / warning that occurs when using adoc-mode with ethan-wspace. This shouldn't change the behavior for any other users because the default value of mode-require-final-newline is true anyway.

@TobiasZawada
Copy link

You are right. The adoc tutorial and the adoc doc do not impose a newline character at the end of the text. So it should be left to the users general setting.

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.

2 participants