Whiley / WhileyEmacsMode

GNU General Public License v3.0
0 stars 1 forks source link

Inherit from prog-mode #1

Open DavePearce opened 3 years ago

DavePearce commented 3 years ago

Currently, this inherits from fundamental-mode when it should inherit from prog-mode (or potentially even cc-mode). Some references:

DavePearce commented 3 years ago

The benefits of extending from c-mode are that it provides all the comment formatting we need. However, it definitely needs to be tweaked. In particular, since whiley statements don't end with ; but rather with \n.