diff options
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.org | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index 447a5f6..5b9b304 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -155,11 +155,13 @@ flycheck python checker, as well as the interpreter, to be Python3 scripts into the REPL ** JavaScript/TypeScript #+BEGIN_SRC emacs-lisp -(after! typescript +(after! typescript-mode (setq typescript-indent-level 2) + (setq tide-format-options '(:indentSize 2 :tabSize 2)) (map! :localleader - :desc "=" 'tide-format + :map typescript-mode-map + :desc "Format code" "=" 'tide-format ) ) #+END_SRC |