Skip to content

Commit

Permalink
Added support for js-mode and js2-mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Nadorp committed Oct 28, 2013
1 parent 5a2f374 commit 6735785
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions highlight-indentation.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6735785

Please sign in to comment.