livecode / atom-language-livecode

LiveCode Language package for Atom
GNU General Public License v3.0
16 stars 15 forks source link

Improved Emacs mode line detection #21

Open peter-b opened 8 years ago

peter-b commented 8 years ago

In a file opened with Emacs, having -*-Makefile-*- in the first line of the file will select Makefile editing mode. There's no need to have a mode: specifier, so it would be nice not to have to include mode: in language-livecode's detection regexp.

Also, we don't currently have any options for how to specify LiveCode Builder vs LiveCode Script mode.

What about case-insensitively using -*-livecode-*- or -*-livecode[script]-*- for LCS mode, -*-livecode[server]-*- for LiveCode Server / revIgniter mode, and -*-livecode[builder]-*- for LCB mode?