소스 검색

typescript: Add config for indentation size

master
Bingen Eguzkitza 3 년 전
부모
커밋
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)


Loading…
취소
저장