2020-02-24 16:13:40 +00:00
|
|
|
;;; packages.el --- Tide Layer packages file for Spacemacs. -*- lexical-binding: t -*-
|
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
2020-02-24 16:13:40 +00:00
|
|
|
;;
|
|
|
|
;; Author: Thanh Vuong <thanhvg@gmail.com>
|
|
|
|
;; URL: https://github.com/thanhvg
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(defconst tide-packages
|
|
|
|
'(tide)
|
|
|
|
"The list of Lisp packages required by the tide layer.")
|
|
|
|
|
|
|
|
(defun tide/init-tide ()
|
|
|
|
(use-package tide
|
|
|
|
:defer t
|
|
|
|
:commands (typescript/jump-to-type-def)
|
|
|
|
:config
|
|
|
|
(spacemacs//tide-setup-bindings)
|
2020-11-25 04:18:35 +00:00
|
|
|
(add-hook 'tide-mode-hook #'spacemacs//tide-setup-jump-handle)))
|