diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-07-29 12:40:41 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-07-29 12:40:41 +0100 |
commit | c95d9f505f4861a3083214ac3919d748df11b2bf (patch) | |
tree | d04e5f7a340ada57c91b687638680773ac464675 /doom.d | |
parent | 5f7d5eb2f95d6ddf1b7e43563334435d7b378cb9 (diff) | |
download | dotfiles-c95d9f505f4861a3083214ac3919d748df11b2bf.tar.gz dotfiles-c95d9f505f4861a3083214ac3919d748df11b2bf.tar.bz2 dotfiles-c95d9f505f4861a3083214ac3919d748df11b2bf.zip |
~typescript config
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 |