diff --git a/.editorconfig b/.editorconfig index e62b828..94b0ee9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,3 +4,7 @@ root = true end_of_line = lf insert_final_newline = true charset = utf-8 + +[*.js] +indent_size = 2 +indent_style = space diff --git a/emacs.el b/emacs.el index 1032aee..afbe8bc 100644 --- a/emacs.el +++ b/emacs.el @@ -711,6 +711,8 @@ IF OK-IF-ALREADY-EXISTS is true force download." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; file handling +(require 'editorconfig nil t) + (setq revert-without-query '(".+")) ;; save cursor position