Procházet zdrojové kódy

typescript: Add config for indentation size

undefined
Bingen Eguzkitza před 3 roky
rodič
revize
c3a78f0350
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      lisp/init-typescript.el

+ 4
- 0
lisp/init-typescript.el Zobrazit soubor

@@ -20,6 +20,10 @@
;; aligns annotation to the right hand side
(setq company-tooltip-align-annotations t)

;; https://github.com/ananthakumaran/tide/issues/229#issuecomment-357379743
;(setq typescript-indent-level
; (or (plist-get (tide-tsfmt-options) ':indentSize) 4))

;; formats the buffer before saving
(add-hook 'before-save-hook 'tide-format-before-save)


Načítá se…
Zrušit
Uložit