Permalink
Browse files

Merge pull request #15 from snadorp/master

Added support for js-mode and js2-mode.
  • Loading branch information...
2 parents 5a2f374 + 6735785 commit 5ddbce2561a05041176dde0aa54d7d42749f7538 @antonj committed Dec 7, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 highlight-indentation.el
@@ -74,6 +74,10 @@ on spaces"
nxml-child-indent)
((eq major-mode 'coffee-mode)
coffee-tab-width)
+ ((eq major-mode 'js-mode)
+ js-indent-level)
+ ((eq major-mode 'js2-mode)
+ js2-basic-offset)
((local-variable-p 'c-basic-offset)
c-basic-offset)
(t

0 comments on commit 5ddbce2

Please sign in to comment.