diff options
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.org | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index d2f6af1..37e6652 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -149,6 +149,18 @@ flycheck python checker, as well as the interpreter, to be Python3 testing utilities or anything like that - I run my python code a LOT and thus need commands for sending bits or whole scripts into the REPL +** JavaScript/TypeScript +#+BEGIN_SRC emacs-lisp +(after! typescript + (setq typescript-indent-level 2) + (map! + :localleader + :desc "=" 'tide-format + ) + ) +#+END_SRC +- Typescript (in my opinion) should be indented by 2 +- I like having one keybind to format a file, thus need to rebind ** Org #+BEGIN_SRC emacs-lisp (after! org |