General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-02-28 12:12:09 -05:00
parent 45122cdea5
commit 4356f894fd
9 changed files with 18 additions and 15 deletions

View file

@ -5,7 +5,6 @@
:init
(add-hook 'typescript-mode-hook 'rainbow-delimiters-mode)
:config
(set! :company-backend 'typescript-mode '(company-tide))
(set! :electric 'typescript-mode :chars '(?\} ?\)) :words '("||" "&&"))
;; TODO tide-jump-back
@ -39,6 +38,7 @@
(def-package! tide
:after typescript-mode
:config
(set! :company-backend 'typescript-mode '(company-tide))
(setq tide-format-options
'(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t
:placeOpenBraceOnNewLineForFunctions nil)))