 ;;   (push 'company-lsp company-backends)
 ;;   )
 
-
-;; (use-package helm-lsp
-;;   :ensure t
-;;   :commands helm-lsp
-;;   )
 ;; (add-hook 'js2-mode 'lsp)
 
 

;;   (setq lsp-response-timeout 20)
;;   (setq lsp-enable-completion-at-point t)
;;   (setq lsp-print-io t)
;;   :bind(
;;    ("C-c j" . lsp-find-implementation)
;;    ("C-c r" . lsp-find-references)

  (setq tide-format-options '(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t :placeOpenBraceOnNewLineForFunctions nil))
  (setq tide-always-show-documentation t)
  (setq flycheck-check-syntax-automatically '(save mode-enabled))
  (setq tide-tsserver-executable "/usr/local/bin/tsserver")
  ;;(flycheck-add-next-checker 'typescript-tide '(warning . typescript-tslint) 'append)
  :hook (
	 (typescript-mode . tide-setup)
