]> code.delx.au - dotemacs/commitdiff
JavaScript indent fix
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 14 Sep 2020 12:45:42 +0000 (22:45 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 14 Sep 2020 12:45:42 +0000 (22:45 +1000)
lisp/my-file-modes.el

index a010ac7e68a865d4683ff0019017d725bcd22f2c..9d8abc80b5802dc099fe882aa01f1aef488dcb7a 100644 (file)
@@ -36,6 +36,7 @@
 (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
+(setq js-indent-align-list-continuation nil)
 
 (add-hook 'js2-mode-hook #'tide-setup)
 (add-hook 'js2-mode-hook #'js2-refactor-mode)