ソースを参照

typescript: Add config for indentation size

master
コミット
bf71c5c0c3
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      lisp/init-typescript.el

+ 4
- 0
lisp/init-typescript.el ファイルの表示

@@ -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)


読み込み中…
キャンセル
保存