15ba6d8149
This JavaScript editing mode supports: - the full JavaScript language through version 1.7 - accurate syntax highlighting using a recursive-descent parser - syntax-error and strict-mode warning reporting - "bouncing" line indentation to choose among alternate indentation points - smart line-wrapping within comments and strings - code folding: - show some or all function bodies as {...} - show some or all block comments as /*...*/ - context-sensitive menu bar and popup menus - typing helpers (e.g. inserting matching braces/parens) - many customization options
10 lines
407 B
Text
10 lines
407 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2008/04/12 13:57:19 wiz Exp $
|
|
|
|
You will need to add something like the following to your .emacs file to
|
|
autoload the js2 mode for Emacs.
|
|
|
|
(autoload 'js2-mode "js2" nil t)
|
|
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
|
|
|
|
===========================================================================
|