diff options
author | wiz <wiz@pkgsrc.org> | 2008-04-12 13:57:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-04-12 13:57:19 +0000 |
commit | 3679baa90a6b0abbed408a611679918527bdd8f5 (patch) | |
tree | ab11f5738d5363c29a011f4dce238ea5285a6453 /devel/js2-mode/MESSAGE | |
parent | e78829e8725ed5e469a990a3ebedff3d5614ee55 (diff) | |
download | pkgsrc-3679baa90a6b0abbed408a611679918527bdd8f5.tar.gz |
Import js2-20080406 as devel/js2-mode.
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
Diffstat (limited to 'devel/js2-mode/MESSAGE')
-rw-r--r-- | devel/js2-mode/MESSAGE | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/js2-mode/MESSAGE b/devel/js2-mode/MESSAGE new file mode 100644 index 00000000000..11f7456ef76 --- /dev/null +++ b/devel/js2-mode/MESSAGE @@ -0,0 +1,10 @@ +=========================================================================== +$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)) + +=========================================================================== |