diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-25 00:13:37 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-25 00:23:26 +0200 |
commit | fdc1028cfd9e6563dbbe950cdd539559ce8d6353 (patch) | |
tree | 4b0ae3791baf59e94767dca01c71fd9828a69798 /emacs.d/lisp/jshint-mode/jshint-emacs.js | |
parent | 452a858fe4d70ec3521687dcbd1a8270f51b6f37 (diff) | |
download | dotfiles-fdc1028cfd9e6563dbbe950cdd539559ce8d6353.tar.gz dotfiles-fdc1028cfd9e6563dbbe950cdd539559ce8d6353.tar.xz dotfiles-fdc1028cfd9e6563dbbe950cdd539559ce8d6353.zip |
emacs: added some additional modes
Diffstat (limited to '')
-rwxr-xr-x | emacs.d/lisp/jshint-mode/jshint-emacs.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/lisp/jshint-mode/jshint-emacs.js b/emacs.d/lisp/jshint-mode/jshint-emacs.js new file mode 100755 index 0000000..d86cb71 --- /dev/null +++ b/emacs.d/lisp/jshint-mode/jshint-emacs.js @@ -0,0 +1,8 @@ +#!/usr/bin/env node + +var conf = '\n(add-to-list \'load-path "' + __dirname + '")\n' + + '(require \'flymake-jshint)\n' + + '(add-hook \'javascript-mode-hook\n' + + ' (lambda () (flymake-mode t)))'; + +console.log(conf);
\ No newline at end of file |