• Jackson Ray Hamilton's avatar
    New indentation option for js-mode · 933e0ab4
    Jackson Ray Hamilton authored
    * lisp/progmodes/js.el (js--proper-indentation): Add new custom option
    `js-indent-first-initialiser' and a function to utilize it,
    `js--maybe-goto-declaration-keyword-end'.
    
    * test/indent/js.js: Add local variables.
    
    * test/indent/js-indent-first-initialiser-t.js: New test for
    `js-indent-first-initialiser'.
    
    * test/indent/js-indent-first-initialiser-dynamic.js: New test for
    `js-indent-first-initialiser'.
    933e0ab4
ChangeLog 942 KB