 (add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
 
 ;;;; elisp
-(add-hook 'emacs-lisp-mode-hook (lambda () (highlight-indentation-mode t)))
+(add-hook 'emacs-lisp-mode-hook (lambda () (highlight-indentation-current-column-mode t)
+                                  (highlight-indentation-mode t)))

(require 'autoinsert)
(add-hook 'find-file-hooks 'auto-insert)
(setq auto-insert-alist
      '(
        ;; C/C++ Header
        ((".*\\.\\(h\\|hpp\\)$" . "C/C++ Header")
         (upcase
          (concat
           (file-name-nondirectory
            (file-name-sans-extension buffer-file-name))
           "_"
           (file-name-extension buffer-file-name)
           "__"))
         "#ifndef " str "\n#define " str "\n\n" _ "\n\n#endif /* " str " */"
         )
        ;; shell
        ((sh-mode . "Shell mode")
         nil
         "#!/bin/sh\n"
         _
         )
        ;; Python
        ((".*\\.py$" . "Python")
         nil
         "# -*- coding: utf-8 -*-\n\n"
         _
         )
        ;; tern_project
        (("\\.tern-project$" . "js2-mode")
         nil
         "{
  \"libs\": [
    \"browser\"
  ],

(add-hook 'js2-mode-hook (lambda ()
                           (flycheck-mode t)
                           (tern-mode t)
                           (highlight-indentation-current-column-mode t)
                           (highlight-indentation-mode t)))

(add-hook 'js2-mode-hook  'skewer-mode)
