<commit_before>;;; packages.el --- typescript Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 <NAME> & Contributors
;;
;; Author: <NAME> <<EMAIL>>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3

(setq typescript-packages
      '(
        company
        eldoc
        flycheck
        tide
        typescript-mode
        web-mode
        ))

(defun typescript/post-init-company ()
  (spacemacs|add-company-hook typescript-mode))

(defun php/post-init-eldoc ()
  (add-hook 'typescript-mode-hook 'eldoc-mode))

(defun typescript/post-init-flycheck ()
  (spacemacs/add-flycheck-hook 'typescript-mode))

(defun typescript/init-tide ()
  (use-package tide<commit_msg>Fix eldoc initialization in typescript layer.<commit_after>;;; packages.el --- typescript Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 <NAME> & Contributors
;;
;; Author: <NAME> <<EMAIL>>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3

(setq typescript-packages
      '(
        company
        eldoc
        flycheck
        tide
        typescript-mode
        web-mode
        ))

(defun typescript/post-init-company ()
  (spacemacs|add-company-hook typescript-mode))

(defun typescript/post-init-eldoc ()
  (add-hook 'typescript-mode-hook 'eldoc-mode))

(defun typescript/post-init-flycheck ()
  (spacemacs/add-flycheck-hook 'typescript-mode))

(defun typescript/init-tide ()
  (use-package tide
{'fraction_non_alphanumeric': 0.14248194353250165, 'fraction_numerical': 0.014445173998686802, 'mean_word_length': 3.130081300813008, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2958800', 'n_tokens_mistral': 546, 'n_tokens_neox': 526, 'n_words': 110}