From: James Bunton Date: Mon, 19 Sep 2016 12:16:55 +0000 (+1000) Subject: javascript declarations should have normal indentation X-Git-Url: https://code.delx.au/dotemacs/commitdiff_plain/d80d0cb6517bfa514489b29cba60204d4c698438 javascript declarations should have normal indentation --- diff --git a/lisp/my-file-modes.el b/lisp/my-file-modes.el index 0198d15..5ca80fe 100644 --- a/lisp/my-file-modes.el +++ b/lisp/my-file-modes.el @@ -33,6 +33,7 @@ (setq js2-highlight-external-variables nil) (setq js2-mode-show-parse-errors nil) (setq js2-mode-show-strict-warnings nil) +(setq js--declaration-keyword-re "x^") ; declarations should have normal indentation (require 'markdown-mode) (define-key markdown-mode-map (kbd "M-{") 'markdown-beginning-of-block)