Преглед на файлове

typescript: Add config for indentation size

undefined
Bingen Eguzkitza преди 3 години
родител
ревизия
c3a78f0350
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. +4
    -0
      lisp/init-typescript.el

+ 4
- 0
lisp/init-typescript.el Целия файл

;; aligns annotation to the right hand side ;; aligns annotation to the right hand side
(setq company-tooltip-align-annotations t) (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 ;; formats the buffer before saving
(add-hook 'before-save-hook 'tide-format-before-save) (add-hook 'before-save-hook 'tide-format-before-save)



Loading…
Отказ
Запис