Emacs major mode for FORM source code providing syntax highlighting and functions for basic use (indentation, adding/removing comments, etc.).
The mode currently provides:
- Syntax highlighting
- Custom function to (un-)comment lines
- Code indentation
- Support for Flycheck
- Support for ac-mode
Put form-mode.el in your emacs load-path.
You can optionally byte compile the file by calling the byte-compile-file
function in Emacs.
Put the following into your .emacs:
(require 'form-mode)
The default comment-dwim function
does not work here, use the provided form-comment-dwim
instead.