(defun indent-hint-fixed (&optional img)
(interactive)
(indent-hint-mode
`(("^[ \t]*\\([^ \t]\\)"
,img))))
;; the flycheck highlight at the beginning of (defun ..., says end of file during parsing.
(defun indent-hint-js ()
(interactive)
(indent-hint-mode
'(("^[ \t]*\\([^ \t}(]\\)")
("\\(function\\|var\\)" ih-img-mtd)
("\\(if\\|for\\|else\\|switch\\)" ih-img-lgc)
("^[ \t]*\\((\\)" ih-img-dat))
#@2:t))