Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add support for Emacs/Vim modelines #136

Merged
merged 2 commits into from
Sep 29, 2016
Merged

Add support for Emacs/Vim modelines #136

merged 2 commits into from
Sep 29, 2016

Conversation

Alhadis
Copy link
Contributor

@Alhadis Alhadis commented Sep 29, 2016

Chapter 7 of "The Neverending Story of Alhadis's modeline-related pull requests"

Vim recognises xhtml as an alias for HTML mode, but Emacs doesn't.

Have enclosed the entire firstLineMatch pattern with an (?i) modifier, since the existing pattern is case-insensitive too. Note that <!DOCTYPE HTML> is valid source; the spec doesn't mandate that html be written in lowercase.

@winstliu winstliu merged commit 46ffb55 into atom:master Sep 29, 2016
@Alhadis Alhadis deleted the modelines branch September 29, 2016 22:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants