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

Extend firstLineMatch support to include modelines #99

Merged
merged 2 commits into from
Sep 29, 2016
Merged

Extend firstLineMatch support to include modelines #99

merged 2 commits into from
Sep 29, 2016

Conversation

Alhadis
Copy link
Contributor

@Alhadis Alhadis commented Sep 29, 2016

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

Copy+pasta from 5846f59:

  • Added: Hashbang recognition for Literate CoffeeScript
  • Fixed: Incorrect boundary matching of existing hashbang; previously, a line like #!/projects/coffeelabs/run would've triggered the grammar.
  • Added: Modeline support for Emacs and Vim. Neither editor supports the language out-of-the-box, but community-authored modes exist, both with the typical mode-name choices of coffee and litcoffee.

See:

Alhadis added 2 commits September 29, 2016 21:01
* Added: Hashbang recognition for Literate CoffeeScript

* Fixed: Incorrect boundary matching of existing hashbang; previously, a
  line like "#!/projects/coffeelabs/run" would've triggered the grammar

* Added: Modeline support for Emacs and Vim. Neither editor supports the
  language out-of-the-box, but community-authored modes exist, both with
  the typical mode-name choices of "coffee" and "litcoffee"

See:
- https://github.com/kchmck/vim-coffee-script
- https://github.com/defunkt/coffee-mode
- https://github.com/jashkenas/coffeescript/wiki/Text-editor-plugins
@winstliu winstliu merged commit edf415e into atom:master Sep 29, 2016
@Alhadis Alhadis deleted the modelines branch September 29, 2016 22:02
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