Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added support for js-mode and js2-mode. #15

Merged
merged 1 commit into from

2 participants

@snadorp

No description provided.

@antonj antonj merged commit 5ddbce2 into antonj:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 28, 2013
  1. @snadorp
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 highlight-indentation.el
View
4 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
Something went wrong with that request. Please try again.